com.nimbusds.srp6
Class SRP6Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.nimbusds.srp6.SRP6Exception
All Implemented Interfaces:
java.io.Serializable

public class SRP6Exception
extends java.lang.Exception

Secure Remote Password (SRP-6a) exception.

Version:
1.4 (2011-10-26)
Author:
Vladimir Dzhuvinov
See Also:
Serialized Form

Nested Class Summary
static class SRP6Exception.CauseType
          SRP-6a exception causes.
 
Constructor Summary
SRP6Exception(java.lang.String message, SRP6Exception.CauseType cause)
          Creates a new Secure Remote Password (SRP-6a) exception with the specified message.
 
Method Summary
 SRP6Exception.CauseType getCauseType()
          Gets the cause type for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SRP6Exception

public SRP6Exception(java.lang.String message,
                     SRP6Exception.CauseType cause)
Creates a new Secure Remote Password (SRP-6a) exception with the specified message.

Parameters:
message - The exception message.
cause - The exception cause type. Must not be null.
Method Detail

getCauseType

public SRP6Exception.CauseType getCauseType()
Gets the cause type for this exception.

Returns:
The exception cause type.