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

public Class ScramServerErrorException

extends ScramException
Class Inheritance
Imports
com.ongres.scram.common.message.ServerFinalMessage

This class represents an error when parsing SCRAM messages

Field Summary

Modifier and TypeField and Description
private final ServerFinalMessage.Error

Constructor Summary

AccessConstructor and Description
public
ScramServerErrorException(ServerFinalMessage.Error
The SCRAM error in the message
error
)

Constructs a new instance of ScramServerErrorException with a detailed message.

public
ScramServerErrorException(ServerFinalMessage.Error
The SCRAM error in the message
error
,
Throwable
The root exception
ex
)

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

Method Summary

Modifier and TypeMethod and Description
public ServerFinalMessage.Error
private static String

Field Detail

errorback to summary
private final ServerFinalMessage.Error error

Constructor Detail

ScramServerErrorExceptionback to summary
public ScramServerErrorException(ServerFinalMessage.Error error)

Constructs a new instance of ScramServerErrorException with a detailed message.

Parameters
error:ServerFinalMessage.Error

The SCRAM error in the message

ScramServerErrorExceptionback to summary
public ScramServerErrorException(ServerFinalMessage.Error error, Throwable ex)

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

Parameters
error:ServerFinalMessage.Error

The SCRAM error in the message

ex:Throwable

The root exception

Method Detail

getErrorback to summary
public ServerFinalMessage.Error getError()
toStringback to summary
private static String toString(ServerFinalMessage.Error error)