|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bigllc.retsiq.simpleclient.RETSClientException
public class RETSClientException
General exception class for RETS requests. The exception may or may not contain further information about the RETS error occured depending if it was supplied.
| Constructor Summary | |
|---|---|
RETSClientException(java.lang.String message)
Constructs a new exception with the specified detail message. |
|
RETSClientException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message. |
|
| Method Summary | |
|---|---|
int |
getHttpStatus()
If there was an http status error then this will be something other than 200. |
int |
getRetsResponseCode()
Return the RETS response code if there was one applicable for this exception. |
java.lang.String |
getRetsResponseDescription()
Return the RETS response code description if there was one applicable for this exception. |
java.lang.String |
getRetsResponseText()
Return the RETS response code text if there was one applicable for this exception. |
boolean |
hasRetsResponse()
If there was an error with a RETS XML formatted response then this will return true. |
| 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 |
| Constructor Detail |
|---|
public RETSClientException(java.lang.String message)
message - The detail message.
public RETSClientException(java.lang.String message,
java.lang.Throwable cause)
message - The detail message.cause - The underlying exception.| Method Detail |
|---|
public int getHttpStatus()
public boolean hasRetsResponse()
public int getRetsResponseCode()
public java.lang.String getRetsResponseText()
public java.lang.String getRetsResponseDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||