public class FastException extends RuntimeException
Constructor and Description |
---|
FastException(FastError fastError,
String description)
Construct a
FastException with the specified detail message
and nested exception. |
FastException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
Method getFastError returns the validationError of this FastException object.
|
FastError |
getFastError()
Method getFastError returns the fast error of this FastException object.
|
Throwable |
getRootCause()
Retrieve the innermost cause of this exception, if any.
|
int |
hashCode() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public FastException(FastError fastError, String description)
FastException
with the specified detail message
and nested exception.description
- the string that describe the problemfastError
- the nested exceptionpublic FastException(Throwable cause)
public Throwable getRootCause()
null
if nonepublic String getDescription()
public FastError getFastError()
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.