-
- All Implemented Interfaces:
-
java.io.Serializable
@Deprecated() public class ExtensionUnexpectedError extends Exception
Wraps an unexpected asynchronous error encountered by a 3rd party extension while processing. It may contain a custom message, the Throwable cause and the custom error code .
-
-
Field Summary
Fields Modifier and Type Field Description public ExtensionErrorerrorCode
-
Constructor Summary
Constructors Constructor Description ExtensionUnexpectedError(ExtensionError code)Constructs an ExtensionUnexpectedErrorwith an error code.
-
Method Summary
Modifier and Type Method Description ExtensionErrorgetErrorCode()Retrieves the custom error code that is associated with this unexpected error. -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ExtensionUnexpectedError
ExtensionUnexpectedError(ExtensionError code)
Constructs anExtensionUnexpectedErrorwith an error code.- Parameters:
code- the ExtensionError code
-
-
Method Detail
-
getErrorCode
ExtensionError getErrorCode()
Retrieves the custom error code that is associated with this unexpected error.
-
-
-
-