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@38fb8d31: the details (an enum that implements DetailsmessageArguments - org.jetbrains.dokka.NodeRenderContent@59ca31ec: 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@2c349a18: the causedetails - org.jetbrains.dokka.NodeRenderContent@3d3f9da8: the detailsmessageArguments - org.jetbrains.dokka.NodeRenderContent@59c91d3b: 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@127e99bf: 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@d9b5f2: the locale