public class ScriptException extends L10NMessageImpl
| Constructor and Description |
|---|
ScriptException(ScriptConstants.ScriptErrorCode errorCode,
String... arguments)
Construct a
ScriptException. |
ScriptException(ScriptConstants.ScriptErrorCode errorCode,
Throwable cause,
String... arguments)
Construct a
ScriptException. |
| Modifier and Type | Method and Description |
|---|---|
static ScriptException |
createAndLogDebug(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
createAndLogDebug(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
Throwable cause,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
createAndLogError(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
createAndLogError(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
Throwable cause,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
ScriptConstants.ScriptErrorCode |
getScriptErrorCode()
Get the
ScriptErrorCode that describes this error. |
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScriptException(ScriptConstants.ScriptErrorCode errorCode, Throwable cause, String... arguments)
ScriptException.errorCode - The error code to use for the exception message.cause - The Throwable that caused the error.arguments - Arguments used in the message associated with the error code.public ScriptException(ScriptConstants.ScriptErrorCode errorCode, String... arguments)
ScriptException.errorCode - The error code to use for the exception message.arguments - Arguments used in the message associated with the error code.public ScriptConstants.ScriptErrorCode getScriptErrorCode()
ScriptErrorCode that describes this error.public static ScriptException createAndLogError(org.slf4j.Logger logger, ScriptConstants.ScriptErrorCode errorCode, Throwable cause, String... arguments)
ScriptException.logger - The logger to which the error should be written.errorCode - The error code to use for the exception message.cause - The Throwable that caused the error.arguments - Arguments used in the message associated with the error code.ScriptException.public static ScriptException createAndLogDebug(org.slf4j.Logger logger, ScriptConstants.ScriptErrorCode errorCode, Throwable cause, String... arguments)
ScriptException.logger - The logger to which the error should be written.errorCode - The error code to use for the exception message.cause - The Throwable that caused the error.arguments - Arguments used in the message associated with the error code.ScriptException.public static ScriptException createAndLogError(org.slf4j.Logger logger, ScriptConstants.ScriptErrorCode errorCode, String... arguments)
ScriptException.logger - The logger to which the error should be written.errorCode - The error code to use for the exception message.arguments - Arguments used in the message associated with the error code.ScriptException.public static ScriptException createAndLogDebug(org.slf4j.Logger logger, ScriptConstants.ScriptErrorCode errorCode, String... arguments)
ScriptException.logger - The logger to which the error should be written.errorCode - The error code to use for the exception message.arguments - Arguments used in the message associated with the error code.ScriptException.Copyright © 2010–2024 Open Identity Platform Community. All rights reserved.