Class SRP6Exception

  • All Implemented Interfaces:
    java.io.Serializable

    public class SRP6Exception
    extends java.lang.Exception
    Secure Remote Password (SRP-6a) exception.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SRP6Exception.CauseType
      SRP-6a exception causes.
    • Constructor Summary

      Constructors 
      Constructor Description
      SRP6Exception​(java.lang.String message, SRP6Exception.CauseType cause)
      Creates a new Secure Remote Password (SRP-6a) exception with the specified message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SRP6Exception.CauseType getCauseType()
      Gets the cause type for this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.