| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.wsrp4j.exception.WSRPException
WSRPException | public class WSRPException extends Exception (Code) | | Common Exception class within the WSRP environment
|
WSRPException | public WSRPException()(Code) | | |
WSRPException | public WSRPException(int errorCode)(Code) | | Creates a new common excpetion. The message to be passed will be ignored
Parameters: errorCode - integer representing an error code |
WSRPException | public WSRPException(int errorCode, Throwable t)(Code) | | Creates a new common excpetion. The message to be passed will be ignored
Parameters: errorCode - integer representing an error code Parameters: t - Throwable to be wrapped |
getErrorCode | public int getErrorCode()(Code) | | Returns an error code
integer representing an error code |
getExceptionRange | public int getExceptionRange()(Code) | | Returns the range identifier of this exception. E.g.
Common, Consumer, Producer or Provider range.
the exception range id |
getNestedThrowable | public Throwable getNestedThrowable()(Code) | | Returns a nested Throwable
Throwable if a nested Throwable exists or null |
setCommonExceptionRange | public void setCommonExceptionRange()(Code) | | Assign the exception to the common range
|
setConsumerExceptionRange | public void setConsumerExceptionRange()(Code) | | Assign the exception to the consumer range
|
setProducerExceptionRange | public void setProducerExceptionRange()(Code) | | Assign the exception to the producer range
|
setProviderExceptionRange | public void setProviderExceptionRange()(Code) | | Assign the exception to the provider range
|
toHTMLString | public String toHTMLString()(Code) | | Returns the Exception in the HTML string format. Nested
exceptions are included in the report.
|
toString | public String toString()(Code) | | Returns the exception as String
|
|
|
|