|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.webdav.DAVException
public class DAVException
DAVException Wrapper for any exception that might occur in the DAV resource code. At the moment this is a chained exception, but once we have the information from the originating exception, there may be little point in keeping a copy.
Constructor Summary | |
---|---|
DAVException()
Default constructor |
|
DAVException(java.lang.String msg)
Constructor for specifying an exception message |
|
DAVException(java.lang.String msg,
java.lang.Exception exception)
Constructor for specifying an exception message and the underlying exception |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Return the underlying exception. |
int |
getStatusCode()
Return the status code. |
void |
setStatusCode(int statusCode)
Sets the status code. |
Constructor Detail |
---|
public DAVException()
public DAVException(java.lang.String msg)
msg
- Message for the exceptionpublic DAVException(java.lang.String msg, java.lang.Exception exception)
msg
- Message for the exceptionexception
- The underlying exceptionMethod Detail |
---|
public final java.lang.Exception getException()
public int getStatusCode()
public void setStatusCode(int statusCode)
statusCode
- The status code
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |