Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jp.ecuacion.splib.web.exception.RedirectException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedirectToHomePageException
-
Constructor Summary
ConstructorsConstructorDescriptionRedirectException(String redirectPath) Constructs a new instance.RedirectException(String redirectPath, String messageId, String... messageArgs) Constructs a new instance.RedirectException(String redirectPath, org.slf4j.event.Level logLevel, String logString) Constructs a new instance.RedirectException(String redirectPath, org.slf4j.event.Level logLevel, String messageId, String[] messageArgs) Constructs a new instance.RedirectException(String redirectPath, org.slf4j.event.Level logLevel, String logString, String messageId, String... messageArgs) Constructs a new instance. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedirectException
Constructs a new instance.- Parameters:
redirectPath- redirectPath like "/account/instancePowerStatus/searchList/page".
-
RedirectException
-
RedirectException
-
RedirectException
public RedirectException(String redirectPath, org.slf4j.event.Level logLevel, String logString, String messageId, String... messageArgs) Constructs a new instance.- Parameters:
redirectPath- redirectPath like "/account/instancePowerStatus/searchList/page".logLevel- logLevellogString- logStringmessageId- messageIdmessageArgs- messageArgs
-
RedirectException
public RedirectException(String redirectPath, org.slf4j.event.Level logLevel, String messageId, String[] messageArgs) Constructs a new instance.messageId and messageArgs are used both for message shown on the page and log message.
English locale is always used for log messages.Since hard to distinguish other constructors, messageArgs is not
String..., butString[].- Parameters:
redirectPath- redirectPath like "/account/instancePowerStatus/searchList/page".logLevel- logLevelmessageId- messageIdmessageArgs- messageArgs
-
-
Method Details
-
getRedirectPath
-
getMessageId
-
getMessageArgs
-
getLogLevel
public org.slf4j.event.Level getLogLevel() -
getLogString
-