|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Object
|
+--Throwable
|
+--Exception
|
+--WvcmException
Signals that an failure of some sort has occurred in the WVCM provider. A WvcmException contains a code describing the reason for the failure and optionally a nested exception to further explain the cause of the error. Some of the reason codes were based on pre or post condition failures as defined in Versioning Extensions to WebDAV.
| Nested Class Summary | |
static class |
WvcmException.ReasonCode
|
| Constructor Summary | |
WvcmException(String message,
String location,
WvcmException.ReasonCode reasonCode,
Exception[] nestedExceptions)
Constructs a WvcmException. |
|
| Method Summary | |
String |
getLocation()
Returns the location of the resource causing the exception. |
Exception[] |
getNestedExceptions()
Returns any nested exception that further explains the cause of the error. |
WvcmException.ReasonCode |
getReasonCode()
Returns the reason code that describes the nature of the error. |
| 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,
String location,
WvcmException.ReasonCode reasonCode,
Exception[] nestedExceptions)
message - The detail message for the exception.location - The location of the resource causing the exception.reasonCode - The reason for the exception.nestedExceptions - Any nested exception.| Method Detail |
public String getLocation()
public WvcmException.ReasonCode getReasonCode()
public Exception[] getNestedExceptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||