|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jafer.registry.RegistryException
org.jafer.registry.uddi.RegistryExceptionImpl
public class RegistryExceptionImpl
This is the base class for all the Jafer UDDI Exceptions that can occur
Field Summary | |
---|---|
private boolean |
hasMessage
Stores a reference to the whether an extra message was added other than just the exception. |
private org.uddi4j.response.Result |
result
Stores a reference to the result if available |
Constructor Summary | |
---|---|
RegistryExceptionImpl(java.lang.Exception exc)
Constructor supplying a message |
|
RegistryExceptionImpl(java.lang.String message)
Constructor supplying a message |
|
RegistryExceptionImpl(java.lang.String message,
java.lang.Exception exc)
Constructor supplying a message and exception |
Method Summary | |
---|---|
private void |
extractResult(java.lang.Exception exc)
finds out if Exception is UDDI related and extracts the first result object |
java.lang.String |
getErrorCode()
Returns the UDDI defined code |
java.lang.String |
getErrorNumber()
Returns the UDDI defined error number |
java.lang.String |
getErrorText()
Returns the UDDI defined error text |
java.lang.String |
getStackTraceString()
This method returns the error message with a full stack trace. |
static boolean |
isErrorOfType(org.uddi4j.response.DispositionReport report,
java.lang.String code)
Checks if the DispositionReport contains the specified code |
java.lang.String |
toString()
This method returns the String message for this Exception adding in the Result details if available |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private org.uddi4j.response.Result result
private boolean hasMessage
Constructor Detail |
---|
public RegistryExceptionImpl(java.lang.String message)
message
- public RegistryExceptionImpl(java.lang.Exception exc)
exc
- public RegistryExceptionImpl(java.lang.String message, java.lang.Exception exc)
message
- exc
- Method Detail |
---|
private void extractResult(java.lang.Exception exc)
exc
- The exception to examinepublic static boolean isErrorOfType(org.uddi4j.response.DispositionReport report, java.lang.String code)
report
- The DispositionReport to searchcode
- code to search for
public java.lang.String getErrorNumber()
getErrorNumber
in class RegistryException
public java.lang.String getErrorCode()
getErrorCode
in class RegistryException
public java.lang.String getErrorText()
getErrorText
in class RegistryException
public java.lang.String getStackTraceString()
getStackTraceString
in class RegistryException
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |