public class FMSException extends Exception
Constructor and Description |
---|
FMSException(List<Error> errorList)
Constructor FMSException
|
FMSException(String errorMessage)
Constructor FMSException
|
FMSException(String errorMessage,
Throwable throwable)
Constructor FMSException
|
FMSException(Throwable throwable)
Constructor FMSException
|
Modifier and Type | Method and Description |
---|---|
List<Error> |
getErrorList()
Method to get the list of errors received from server.
|
protected static String |
getString(List<Error> errorList)
Method to get the error codes received from server as String message
|
Throwable |
getThrowable()
Method to get the Throwable object
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FMSException(List<Error> errorList)
errorList
- the list of errorspublic FMSException(String errorMessage)
errorMessage
- the error messagepublic FMSException(Throwable throwable)
throwable
- the throwableCopyright © 2017. All rights reserved.