|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.webdav.DAVException
@SASScope(value="ALL") @BinaryCompatibilityOnly 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)
Constructs an instance for the specified exception message. |
|
DAVException(java.lang.String msg,
java.lang.Exception exception)
Constructs an instance for the specified exception message and the underlying exception. |
|
DAVException(java.lang.String msg,
java.lang.Exception exception,
int httpStatusCode)
Constructs an instance for the specified exception message, underlying exception and HTTP status code. |
|
DAVException(java.lang.String msg,
int httpStatusCode)
Constructs an instance for the specified exception message and HTTP status code. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getException()
Gets the underlying exception. |
int |
getStatusCode()
Gets the HTTP status code. |
void |
setStatusCode(int statusCode)
Sets the HTTP status code. |
| Constructor Detail |
|---|
public DAVException()
public DAVException(java.lang.String msg)
msg - Message for the exception.
public DAVException(java.lang.String msg,
int httpStatusCode)
msg - Message for the exception.httpStatusCode - HTTP status code.getStatusCode()
public DAVException(java.lang.String msg,
java.lang.Exception exception)
msg - Message for the exception.exception - The underlying exception.setStatusCode(int)
public DAVException(java.lang.String msg,
java.lang.Exception exception,
int httpStatusCode)
msg - Message for the exception.exception - The underlying exception.httpStatusCode - HTTP status code.getStatusCode()| Method Detail |
|---|
public final java.lang.Exception getException()
null if there is no underlying exception.public int getStatusCode()
0 if not set.public void setStatusCode(int statusCode)
statusCode - The HTTP status code.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||