public class ConnectionException extends V1Exception
| Constructor and Description | 
|---|
| ConnectionException(String message)Create with message | 
| ConnectionException(String message,
                   Exception inner)Create with message and inner exception. | 
| ConnectionException(String message,
                   int responseCode)Create with message | 
| ConnectionException(String message,
                   int responseCode,
                   Exception inner)Create with message and inner exception and response code | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getServerResponseCode()Return the response code the server returned | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConnectionException(String message, int responseCode)
message - - text message for userresponseCode - - server response codepublic ConnectionException(String message, int responseCode, Exception inner)
message - - text message for userresponseCode - - server response codeinner - - nested exceptionpublic ConnectionException(String message, Exception inner)
message - text of errorinner - inner exceptionpublic ConnectionException(String message)
message - text of errorCopyright © 2015 VersionOne, Inc.. All rights reserved.