public class ApplicationException
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationException(T details,
java.lang.Object... messageArguments)
Creates a new ApplicationException
|
protected |
ApplicationException(java.lang.Throwable cause,
T details,
java.lang.Object... messageArguments)
Creates a new ApplicationException including a cause (which is never presented to the user).
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationException.Details |
getDetails()
Returns the details
|
ErrorCode |
getErrorCode()
Returns the error code
|
java.lang.String |
getLocalizedMessage()
Returns the localized message for the default locale
|
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns the localized message for the given locale
|
java.lang.String |
getMessage() |
java.lang.Object[] |
getMessageArguments()
Returns the message arguments.
|
java.lang.String |
getTitle()
Returns the title for the default locale
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the title for the given locale
|
protected ApplicationException(@Nonnull
T details,
@Nonnull
java.lang.Object... messageArguments)
Creates a new ApplicationException
details - org.jetbrains.dokka.NodeRenderContent@5aab4ccb: the details (an enum that implements DetailsmessageArguments - org.jetbrains.dokka.NodeRenderContent@e5ce409: the (optional) message argumentsprotected ApplicationException(@Nullable
java.lang.Throwable cause,
@Nonnull
T details,
@Nonnull
java.lang.Object... messageArguments)
Creates a new ApplicationException including a cause (which is never presented to the user).
cause - org.jetbrains.dokka.NodeRenderContent@64c41963: the causedetails - org.jetbrains.dokka.NodeRenderContent@132ea3c0: the detailsmessageArguments - org.jetbrains.dokka.NodeRenderContent@13e3787a: the (optional) message arguments@Nonnull public ApplicationException.Details getDetails()
Returns the details
@Nonnull public java.lang.Object[] getMessageArguments()
Returns the message arguments.
public java.lang.String getMessage()
@Nonnull public ErrorCode getErrorCode()
Returns the error code
@Nonnull public java.lang.String getLocalizedMessage()
Returns the localized message for the default locale
@Nonnull
public java.lang.String getLocalizedMessage(@Nonnull
java.util.Locale locale)
Returns the localized message for the given locale
locale - org.jetbrains.dokka.NodeRenderContent@35754a11: the locale@Nonnull public java.lang.String getTitle()
Returns the title for the default locale
@Nonnull
public java.lang.String getTitle(@Nonnull
java.util.Locale locale)
Returns the title for the given locale
locale - org.jetbrains.dokka.NodeRenderContent@55861d80: the locale