com.senn.magic.io.exception
Class DirectoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.senn.magic.io.exception.DirectoryException
All Implemented Interfaces:
Serializable

public class DirectoryException
extends Exception

DirectoryException is a subclass of Exception used in Directory related actions.

Since:
3.2
Author:
Bart Thierens
Last modification: 09/02/2010
See Also:
Serialized Form

Field Summary
static String DOES_NOT_EXIST
           
static String INVALID_DIRECTORY_NAME
           
static String IS_LOCKED
           
static String NOT_A_DIRECTORY
           
static String UNKNOWN
           
 
Constructor Summary
DirectoryException()
          Constructs a DirectoryException
DirectoryException(String message)
          Constructs a DirectoryException with a custom message
DirectoryException(String message, Throwable cause)
          Constructs a DirectoryException with a custom message and an underlaying cause
DirectoryException(Throwable cause)
          Constructs a DirectoryException with an underlaying cause
 
Method Summary
 
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
 

Field Detail

DOES_NOT_EXIST

public static final String DOES_NOT_EXIST
See Also:
Constant Field Values

INVALID_DIRECTORY_NAME

public static final String INVALID_DIRECTORY_NAME
See Also:
Constant Field Values

IS_LOCKED

public static final String IS_LOCKED
See Also:
Constant Field Values

NOT_A_DIRECTORY

public static final String NOT_A_DIRECTORY
See Also:
Constant Field Values

UNKNOWN

public static final String UNKNOWN
See Also:
Constant Field Values
Constructor Detail

DirectoryException

public DirectoryException()
Constructs a DirectoryException


DirectoryException

public DirectoryException(String message)
Constructs a DirectoryException with a custom message

Parameters:
message -

DirectoryException

public DirectoryException(Throwable cause)
Constructs a DirectoryException with an underlaying cause

Parameters:
cause -

DirectoryException

public DirectoryException(String message,
                          Throwable cause)
Constructs a DirectoryException with a custom message and an underlaying cause

Parameters:
message -
cause -