Top Description Constructors Methods
com.ongres.scram.common.exception

public Class ScramException

extends SaslException
Class Inheritance
Known Direct Subclasses
com.ongres.scram.common.exception.ScramInvalidServerSignatureException, com.ongres.scram.common.exception.ScramParseException, com.ongres.scram.common.exception.ScramServerErrorException
Imports
javax.security.sasl.SaslException

This class represents an error when using SCRAM, which is a SASL method. SaslException

Constructor Summary

AccessConstructor and Description
public
ScramException(String
A String containing details about the exception
detail
)

Constructs a new instance of ScramException with a detailed message.

public
ScramException(String
A String containing details about the exception
detail
,
Throwable
The root exception
ex
)

Constructs a new instance of ScramException with a detailed message and a root cause.

Method Summary

Inherited from javax.security.sasl.SaslException:
getCauseinitCausetoString

Constructor Detail

ScramExceptionback to summary
public ScramException(String detail)

Constructs a new instance of ScramException with a detailed message.

Parameters
detail:String

A String containing details about the exception

ScramExceptionback to summary
public ScramException(String detail, Throwable ex)

Constructs a new instance of ScramException with a detailed message and a root cause.

Parameters
detail:String

A String containing details about the exception

ex:Throwable

The root exception