***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.webdav
Class DAVException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sas.services.webdav.DAVException
All Implemented Interfaces:

public class DAVException
extends Exception

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.

See Also:
Serialized Form

Constructor Summary
DAVException()
          Default constructor
DAVException(String msg)
          Constructor for specifying an exception message
DAVException(String msg, Exception exception)
          Constructor for specifying an exception message and the underlying exception
 
Method Summary
 Exception getException()
          Return the underlying exception.
 int getStatusCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DAVException

public DAVException()
Default constructor

DAVException

public DAVException(String msg)
Constructor for specifying an exception message
Parameters:
msg - Message for the exception

DAVException

public DAVException(String msg,
                    Exception exception)
Constructor for specifying an exception message and the underlying exception
Parameters:
msg - Message for the exception
exception - The underlying exception
Method Detail

getException

public final Exception getException()
Return the underlying exception. This will be null if the exception wasn't specified

getStatusCode

public int getStatusCode()

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:04