|
|||||||||
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.apache.wsrp4j.exception.WSRPException
public class WSRPException
Common Exception class within the WSRP environment
Constructor Summary | |
---|---|
WSRPException()
|
|
WSRPException(int errorCode)
Creates a new common excpetion. |
|
WSRPException(int errorCode,
java.lang.Throwable t)
Creates a new common excpetion. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns an error code |
int |
getExceptionRange()
Returns the range identifier of this exception. |
java.lang.Throwable |
getNestedThrowable()
Returns a nested Throwable |
void |
setCommonExceptionRange()
Assign the exception to the common range |
void |
setConsumerExceptionRange()
Assign the exception to the consumer range |
void |
setProducerExceptionRange()
Assign the exception to the producer range |
void |
setProviderExceptionRange()
Assign the exception to the provider range |
java.lang.String |
toHTMLString()
Returns the Exception in the HTML string format. |
java.lang.String |
toString()
Returns the exception as String |
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 |
Constructor Detail |
---|
public WSRPException()
public WSRPException(int errorCode)
errorCode
- integer representing an error codepublic WSRPException(int errorCode, java.lang.Throwable t)
errorCode
- integer representing an error codet
- Throwable to be wrappedMethod Detail |
---|
public int getErrorCode()
public java.lang.Throwable getNestedThrowable()
public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String toHTMLString()
public int getExceptionRange()
public void setCommonExceptionRange()
public void setConsumerExceptionRange()
public void setProducerExceptionRange()
public void setProviderExceptionRange()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |