|
||||||||||
| 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.verisign.epp.exception.EPPException
com.verisign.epp.interfaces.EPPCommandException
public class EPPCommandException
Exception thrown when an error is recognized by one of the
interfaces classes. A server error response can be
associated with the exception. hasResponse is used to
determine if there is an associated error response, and
getResponse is used to get the error response from the
exception.
EPPResponse,
Serialized Form| Constructor Summary | |
|---|---|
EPPCommandException(java.lang.String newDescription)
Constructs an Exception with the specified detailed message. |
|
EPPCommandException(java.lang.String newDescription,
EPPResponse newResponse)
Constructs an Exception with the specified detailed message and an associated server error response. |
|
| Method Summary | |
|---|---|
EPPResponse |
getResponse()
Gets the server error response associated with the exception. |
boolean |
hasResponse()
Is there a server error response associated with the exception? |
| 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 EPPCommandException(java.lang.String newDescription)
newDescription - String containing a detailed message.
public EPPCommandException(java.lang.String newDescription,
EPPResponse newResponse)
newDescription - String containing a detailed message.newResponse - Server error response associated with the exception| Method Detail |
|---|
public boolean hasResponse()
true, getResponse can be used to retrieve
the response.
true if there is a response; false
otherwise.public EPPResponse getResponse()
null will be returned.
hasResponse can be used to determine if there is a
response before calling getResponse.
null
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||