Class ScramServerErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- javax.security.sasl.SaslException
-
- com.impossibl.postgres.protocol.sasl.scram.exception.ScramException
-
- com.impossibl.postgres.protocol.sasl.scram.exception.ScramServerErrorException
-
- All Implemented Interfaces:
Serializable
public class ScramServerErrorException extends ScramException
This class represents an error when parsing SCRAM messages- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScramServerErrorException(ServerFinalMessage.Error error)
Constructs a new instance of ScramServerErrorException with a detailed message.ScramServerErrorException(ServerFinalMessage.Error error, Throwable ex)
Constructs a new instance of ScramServerErrorException with a detailed message and a root cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerFinalMessage.Error
getError()
-
Methods inherited from class javax.security.sasl.SaslException
getCause, initCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ScramServerErrorException
public ScramServerErrorException(ServerFinalMessage.Error error)
Constructs a new instance of ScramServerErrorException with a detailed message.- Parameters:
error
- The SCRAM error in the message
-
ScramServerErrorException
public ScramServerErrorException(ServerFinalMessage.Error error, Throwable ex)
Constructs a new instance of ScramServerErrorException with a detailed message and a root cause.- Parameters:
error
- The SCRAM error in the messageex
- The root exception
-
-
Method Detail
-
getError
public ServerFinalMessage.Error getError()
-
-