public class JetException extends APIException
Constructor and Description |
---|
JetException()
Creates a new instance of
JetException without detail message. |
JetException(List<String> messages) |
JetException(List<String> messages,
Exception previous) |
JetException(List<String> messages,
Exception previous,
IAPIResponse response) |
JetException(String msg)
Constructs an instance of
JetException with the specified
detail message. |
JetException(String message,
Exception previous)
An api exception with a previous exception
|
JetException(String message,
Exception previous,
IAPIResponse response)
An api exception with a previous exception
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getMessages()
Retrieve the API Error messages
|
IAPIResponse |
getResponse() |
String |
implodeMessages(String delim) |
void |
printToLog(org.apache.commons.logging.Log log)
Print this exception to the log
|
getPrevious
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JetException()
JetException
without detail message.public JetException(String msg)
JetException
with the specified
detail message.msg
- the detail message.public JetException(List<String> messages, Exception previous, IAPIResponse response)
public JetException(String message, Exception previous)
message
- the detail messageprevious
- The previous exceptionpublic JetException(String message, Exception previous, IAPIResponse response)
message
- the detail messageprevious
- The previous exceptionpublic IAPIResponse getResponse()
public List<String> getMessages()
public void printToLog(org.apache.commons.logging.Log log)
printToLog
in class APIException
log
- Log to print toCopyright © 2017. All rights reserved.