|
|||||||||
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.FutureTense.XML.Post.XMLPost.XMLPostException
public static class XMLPost.XMLPostException
This exception will be thrown if there is a failure executing XMLPost for any reason.
Errors returned fall into two main categories:getStatusCodes
method which will return
an ftStatusCode
object, which can in turn be
interrogated to view the errors returned by the response. The status codes
that are set here are set by the target page, so care should be taken to ensure
that the target page actually sets these codes intelligently.
If the status codes still prove to be inconclusive, this class provides
a method called, getResponse
to view the actual
response returned by the target Content Server.
Method Summary | |
---|---|
int |
getErrno()
Returns the errno value associated with this failure |
java.lang.String |
getResponse()
Returns the response returned by the target |
COM.FutureTense.Util.ftStatusCode |
getStatusCodes()
Returns an ftStatusCode object that contains a list of success or error result codes, including numeric error codes and comments about each failure. |
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 |
Method Detail |
---|
public int getErrno()
public java.lang.String getResponse()
public COM.FutureTense.Util.ftStatusCode getStatusCodes()
ftStatusCode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |