|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.wvcm.WvcmException
public class 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(java.lang.String message,
java.lang.String location,
WvcmException.ReasonCode reasonCode,
java.lang.Exception[] nestedExceptions)
Constructs a WvcmException. |
Method Summary | |
---|---|
java.lang.String |
getLocation()
Returns the location of the resource causing the exception. |
java.lang.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. |
java.lang.String |
toString()
Return simple string representation of the WvcmException. |
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 WvcmException(java.lang.String message, java.lang.String location, WvcmException.ReasonCode reasonCode, java.lang.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 java.lang.String getLocation()
public WvcmException.ReasonCode getReasonCode()
public java.lang.Exception[] getNestedExceptions()
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 |