
public class FastUnsupportedCallbackException extends UnsupportedCallbackException
UnsupportedCallbackException which does not initialize a full stack trace, and thus is much
more efficient to construct.| Constructor and Description |
|---|
FastUnsupportedCallbackException(Callback callback)
Constructs a new
FastUnsupportedCallbackException instance. |
FastUnsupportedCallbackException(Callback callback,
String msg)
Constructs a new
FastUnsupportedCallbackException instance with an initial message. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace()
Does nothing but return this instance.
|
String |
getMessage()
Get the message for this exception, formatted with the callback.
|
StackTraceElement[] |
getStackTrace()
Returns an empty stack.
|
Throwable |
initCause(Throwable cause)
Does nothing but return this instance.
|
void |
setStackTrace(StackTraceElement[] stackTrace)
Does nothing.
|
getCallbackaddSuppressed, getCause, getLocalizedMessage, getSuppressed, printStackTrace, printStackTrace, printStackTrace, toStringpublic FastUnsupportedCallbackException(Callback callback)
FastUnsupportedCallbackException instance. The message is left blank (null),
and no cause is specified.callback - the callback which is not supported (should not be null)public FastUnsupportedCallbackException(Callback callback, String msg)
FastUnsupportedCallbackException instance with an initial message. No cause is
specified.callback - the callback which is not supported (should not be null)msg - the messagepublic StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic Throwable fillInStackTrace()
fillInStackTrace in class Throwablepublic void setStackTrace(StackTraceElement[] stackTrace)
setStackTrace in class ThrowablestackTrace - ignoredpublic String getMessage()
getMessage in class Throwablenull)Copyright © 2020 JBoss by Red Hat. All rights reserved.