public class GeneralException extends Exception
Constructor and Description |
---|
GeneralException(String message)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
Throwable cause)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
URL redirectURI,
State state)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
URL redirectURI,
State state,
Throwable cause)
Creates a new general exception.
|
GeneralException(String message,
Throwable cause)
Creates a new general exception.
|
Modifier and Type | Method and Description |
---|---|
ErrorObject |
getErrorObject()
Gets the associated error.
|
URL |
getRedirectURI()
Gets the associated redirection URI.
|
State |
getState()
Gets the optional associated state parameter.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GeneralException(String message)
message
- The exception message. May be null
.public GeneralException(String message, Throwable cause)
message
- The exception message. May be null
.cause
- The exception cause, null
if not specified.public GeneralException(String message, ErrorObject error, Throwable cause)
message
- The exception message. May be null
.error
- The associated error, null
if not specified.cause
- The exception cause, null
if not specified.public GeneralException(String message, ErrorObject error, URL redirectURI, State state)
message
- The exception message. May be null
.error
- The associated error, null
if not
specified.redirectURI
- The associated redirection URI, null
if
not specified.state
- The optional associated state parameter,
null
if not specified.public GeneralException(String message, ErrorObject error, URL redirectURI, State state, Throwable cause)
message
- The exception message. May be null
.error
- The associated error, null
if not
specified.redirectURI
- The associated redirection URI, null
if
not specified.state
- The optional associated state parameter,
null
if not specified.cause
- The exception cause, null
if not
specified.public ErrorObject getErrorObject()
null
if not specified.public URL getRedirectURI()
null
if redirection is not to
be performed for this error.Copyright © 2013 NimbusDS. All Rights Reserved.