public class ServerException
extends java.lang.Exception
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAction()
The action to be performed over the resource specified by the uri.
|
int |
getErrorCode()
Returns the error code sent by the server.
|
int |
getHttpStatusCode()
The http status code for the request.
|
java.lang.String |
getMessage()
Returns the message sent by the server.
|
java.lang.String |
getRequestURI()
The uri which threw this exception.
|
java.lang.String |
toString()
Returns the entire error details sent by the server.
|
public int getHttpStatusCode()
int value.public java.lang.String getRequestURI()
String value.public java.lang.String getAction()
String valuepublic int getErrorCode()
int value.public java.lang.String getMessage()
getMessage in class java.lang.ThrowableString value.public java.lang.String toString()
toString in class java.lang.ThrowableString value.Copyright © 2024 AdventNet Inc. All Rights Reserved.