|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
javax.wvcm.WvcmException
public class WvcmException
An exception that indicates that a failure of some sort has occurred in the WVCM provider. A WvcmException contains information such as a code describing the reason for the failure and optionally an array of nested exceptions to further explain the cause of the error.
Nested Class Summary | |
---|---|
static class |
WvcmException.ReasonCode
The reason code for a WvcmException. |
Constructor Summary | |
---|---|
WvcmException(String message,
Resource resource,
WvcmException.ReasonCode reasonCode)
Constructs a WvcmException. |
|
WvcmException(String message,
Resource resource,
WvcmException.ReasonCode reasonCode,
Throwable cause)
Constructs a WvcmException. |
|
WvcmException(String message,
Resource resource,
WvcmException.ReasonCode reasonCode,
Throwable[] nestedExceptions)
Constructs a WvcmException. |
|
WvcmException(String message,
Resource resource,
WvcmException.ReasonCode reasonCode,
Throwable cause,
Throwable[] nestedExceptions)
Constructs a WvcmException. |
|
WvcmException(String message,
WvcmException.ReasonCode reasonCode)
Constructs a WvcmException. |
Method Summary | |
---|---|
Throwable[] |
getNestedExceptions()
Get any nested exceptions that further explain the cause of the error. |
WvcmException.ReasonCode |
getReasonCode()
Get the reason code that describes the nature of the error. |
Resource |
getResource()
Get the resource causing the exception. |
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WvcmException(String message, Resource resource, WvcmException.ReasonCode reasonCode)
message
- the detail message for the exception.resource
- the resource causing the exception.reasonCode
- the reason for the exception.public WvcmException(String message, Resource resource, WvcmException.ReasonCode reasonCode, Throwable cause)
message
- the detail message for the exception.resource
- the resource causing the exception.reasonCode
- the reason for the exception.cause
- the exception that caused this exception.public WvcmException(String message, Resource resource, WvcmException.ReasonCode reasonCode, Throwable[] nestedExceptions)
message
- the detail message for the exception.resource
- the resource causing the exception.reasonCode
- the reason for the exception.nestedExceptions
- any nested exception.public WvcmException(String message, Resource resource, WvcmException.ReasonCode reasonCode, Throwable cause, Throwable[] nestedExceptions)
message
- the detail message for the exception.resource
- the resource causing the exception.reasonCode
- the reason for the exception.cause
- the exception that caused this exception.nestedExceptions
- any nested exception.public WvcmException(String message, WvcmException.ReasonCode reasonCode)
message
- the detail message for the exception.reasonCode
- the reason for the exception.Method Detail |
---|
public Throwable[] getNestedExceptions()
public WvcmException.ReasonCode getReasonCode()
public Resource getResource()
|
Generated Fri 26-Feb-2010 04:01 AM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |