public class SystemRecoverableException extends UnrecoverableException
Constructor and Description |
---|
SystemRecoverableException(java.lang.String theMessage,
byte[] theSecurityContext)
Creates a system recoverable exception with a Kerberos authentication
token.
|
SystemRecoverableException(java.lang.String theMessage,
java.lang.String theRequestedVars)
Creates a system recoverable exception to request a single trusted
environment variable.
|
SystemRecoverableException(java.lang.String theMessage,
java.lang.String[] theRequestedVars)
Creates a system recoverable exception to request multiple trusted
environment variables.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getRequestedVars()
Returns all the names of the environment variables being requested or
null if none is being requested.
|
byte[] |
getSecurityContext()
Returns the Kerberos token that is being trasmitted with this exception
or null if none is being sent.
|
addCaption, addMessage, addMessageOnTop, getCaptions, getMessages
public SystemRecoverableException(java.lang.String theMessage, byte[] theSecurityContext)
theMessage
- The details about the condition that caused this exception.theSecurityContext
- The Kerberos token to send to the other party.public SystemRecoverableException(java.lang.String theMessage, java.lang.String[] theRequestedVars)
theMessage
- The details about the condition that caused this exception.theRequestedVars
- An array containing the name of each environment variable
being requested.public SystemRecoverableException(java.lang.String theMessage, java.lang.String theRequestedVars)
theMessage
- The details about the condition that caused this exception.theRequestedVars
- The name of the environment variable being requested.public java.lang.String[] getRequestedVars()
public byte[] getSecurityContext()