public abstract class AbstractTypedException extends Exception implements RestTypedException
| Constructor and Description |
|---|
AbstractTypedException(String message,
ResourceErrorType errorType) |
AbstractTypedException(String message,
ResourceErrorType errorType,
Object errorData) |
AbstractTypedException(String message,
Throwable cause,
ResourceErrorType errorType) |
AbstractTypedException(String message,
Throwable cause,
ResourceErrorType errorType,
Object errorData) |
AbstractTypedException(Throwable cause,
ResourceErrorType errorType) |
AbstractTypedException(Throwable cause,
ResourceErrorType errorType,
Object errorData) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getErrorData() |
ResourceErrorType |
getErrorType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractTypedException(@Nonnull Throwable cause, @Nonnull ResourceErrorType errorType)
public AbstractTypedException(@Nonnull Throwable cause, @Nonnull ResourceErrorType errorType, @Nullable Object errorData)
public AbstractTypedException(@Nonnull String message, @Nonnull ResourceErrorType errorType)
public AbstractTypedException(@Nonnull String message, @Nonnull ResourceErrorType errorType, @Nullable Object errorData)
public AbstractTypedException(@Nonnull String message, @Nonnull Throwable cause, @Nonnull ResourceErrorType errorType)
public ResourceErrorType getErrorType()
getErrorType in interface RestTypedExceptionpublic Object getErrorData()
getErrorData in interface RestTypedExceptionCopyright © 2017 Atlassian. All rights reserved.