public class NotImplemented extends ErrorResult
Result.Payload| Modifier and Type | Field and Description |
|---|---|
static NotImplemented |
INSTANCE
The static instance of NotImplemented result.
|
| Constructor and Description |
|---|
NotImplemented() |
NotImplemented(int errorCode) |
NotImplemented(int errorCode,
String message,
Object... args) |
NotImplemented(int errorCode,
Throwable cause) |
NotImplemented(int errorCode,
Throwable cause,
String message,
Object... args) |
NotImplemented(String message,
Object... args) |
NotImplemented(Throwable cause) |
NotImplemented(Throwable cause,
String message,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static NotImplemented |
get()
Returns a static NotImplemented instance and set the
Result.payload thread local
with default message. |
static NotImplemented |
of(int errorCode)
Returns a static NotImplemented instance and set the
Result.payload thread local
with default message. |
static NotImplemented |
of(String message,
Object... args)
Returns a static NotImplemented instance and set the
Result.payload thread local
with message specified. |
static NotImplemented |
of(Throwable cause)
Returns a static NotImplemented instance and set the
Result.payload thread local
with message specified. |
static NotImplemented |
of(Throwable cause,
String message,
Object... args)
Returns a static NotImplemented instance and set the
Result.payload thread local
with message specified. |
_localizedErrorMsg, applyMessage, attach, attachment, attachment, defaultMessage, errorCode, getLocalizedMessage, of, of, of, of, of, of, of, toJsonString, toKVStore, toStringapply, applyAfterCommitHandler, applyBeforeCommitHandler, applyStatus, clearThreadLocals, payload, status, status, statusCodedoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final NotImplemented INSTANCE
public NotImplemented()
public NotImplemented(int errorCode)
public NotImplemented(int errorCode,
Throwable cause,
String message,
Object... args)
public NotImplemented(Throwable cause)
public NotImplemented(int errorCode,
Throwable cause)
public static NotImplemented get()
Result.payload thread local
with default message.
When calling the instance on Throwable.getMessage() method, it will return whatever
stored in the Result.payload thread localpublic static NotImplemented of(int errorCode)
Result.payload thread local
with default message.
When calling the instance on Throwable.getMessage() method, it will return whatever
stored in the Result.payload thread localerrorCode - the app defined error codepublic static NotImplemented of(String message, Object... args)
Result.payload thread local
with message specified.
When calling the instance on Throwable.getMessage() method, it will return whatever
stored in the Result.payload thread localmessage - the messageargs - the message argumentspublic static NotImplemented of(Throwable cause, String message, Object... args)
Result.payload thread local
with message specified.
When calling the instance on Throwable.getMessage() method, it will return whatever
stored in the Result.payload thread localcause - the causemessage - the messageargs - the message argumentspublic static NotImplemented of(Throwable cause)
Result.payload thread local
with message specified.
When calling the instance on Throwable.getMessage() method, it will return whatever
stored in the Result.payload thread localcause - the causeCopyright © 2017. All Rights Reserved.