com.atlassian.jira.rest.client
Class RestClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.jira.rest.client.RestClientException
- All Implemented Interfaces:
- java.io.Serializable
public class RestClientException
- extends java.lang.RuntimeException
Basic exception which may be thrown by any remote operation encapsulated by the REST client.
Usually some more specific exception will be chained here and available via Throwable.getCause()
- Since:
- v0.1
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RestClientException
public RestClientException(java.lang.Throwable cause)
RestClientException
public RestClientException(java.lang.String errorMessage,
java.lang.Throwable cause)
RestClientException
public RestClientException(java.util.Collection<java.lang.String> errorMessages,
java.lang.Throwable cause)
- Parameters:
errorMessages - messages which will be joined with newline character and accessible then via Throwable.getMessage()cause - the cause of this exception or null
getErrorMessages
public java.lang.Iterable<java.lang.String> getErrorMessages()
- Returns:
- error messages used while building this exception object
Copyright © 2012 Atlassian Pty Ltd. All Rights Reserved.