CWebdav 0.1
API Documentation

org.esupportail.portal.channels.CWebdav.exception
Class WebdavException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.esupportail.portal.channels.CWebdav.exception.WebdavException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApplicationException, BadFormatException, CancelException, CopyException, CreateDirectoryException, DeleteException, EmptyFileOnUploadException, MoveException, NoneSelectedResourceException, NotEmptyDirectoryException, NotExistsResourceException, OverQuotaException, PasteDeletedResourceException, PasteInChildDirectoryException, PasteWithSameNameException, PropertiesException, ReadFileException, RenameException, ServerException, StillExistsException, TooMuchSelectedException, UploadException

public class WebdavException
extends java.lang.Exception

Id: WebdavException.java,v 1.0 13 mai 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: WebdavException Original Author: Yohan Colmant An abstract exception

See Also:
Serialized Form

Constructor Summary
WebdavException()
          Constructor
WebdavException(int errorCode)
          Constructor
WebdavException(int errorCode, int httpErrorCode)
          Constructor
 
Method Summary
 int getErrorCode()
          Return the error code associated to this exception
 int getHttpErrorCode()
          Return the http error code return by the webdav
 java.lang.String toString()
          Return a string form of this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebdavException

public WebdavException()
Constructor


WebdavException

public WebdavException(int errorCode)
Constructor

Parameters:
errorCode - the errorCode associate to this exception

WebdavException

public WebdavException(int errorCode,
                       int httpErrorCode)
Constructor

Parameters:
errorCode - the errorCode associate to this exception
httpErrorCode - the errorCode associate to this exception
Method Detail

getErrorCode

public int getErrorCode()
Return the error code associated to this exception

Returns:
the error code

getHttpErrorCode

public int getHttpErrorCode()
Return the http error code return by the webdav

Returns:
the http error code

toString

public java.lang.String toString()
Return a string form of this exception


CWebdav 0.1
API Documentation