public class FatalException extends RuntimeException
| Constructor and Description |
|---|
FatalException(String message)
Create an unchecked exception.
|
FatalException(Throwable e)
Convert an exception into an unchecked exception, after appropriately reporting the unchecked
exception to the error stream.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getOriginalException()
Return the original checked exception that was converted into an unchecked exception (if any)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FatalException(String message)
message - A textual description of the error.public FatalException(Throwable e)
e - The exception to convert to an unchecked FatalException.public Throwable getOriginalException()
Copyright © 2018. All rights reserved.