org.pdfsam.console.exceptions.console
Class ConsoleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pdfsam.emp4j.exceptions.ParentEmp4jException
              extended by org.pdfsam.emp4j.exceptions.ClassNameKeyException
                  extended by org.pdfsam.console.exceptions.BasicPdfsamException
                      extended by org.pdfsam.console.exceptions.console.ConsoleException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConcatException, EncryptException, MixException, PageLabelsException, ParseException, RotateException, SetViewerException, SlideShowException, SplitException, UnpackException, ValidationException

public class ConsoleException
extends BasicPdfsamException

Generic console Exception

Author:
Andrea Vacondio
See Also:
Serialized Form

Field Summary
static int CMD_LINE_EXECUTOR_NULL
           
static int CMD_LINE_HANDLER_NULL
           
static int CMD_LINE_NULL
           
static int CMD_LINE_VALIDATOR_NULL
           
static int EMPTY_FILENAME
           
static int ERR_BAD_COMMAND
           
static int ERR_ZERO_LENGTH
           
static int OVERWRITE_IS_FALSE
           
static int PREFIX_REQUEST_NULL
           
static int UNABLE_TO_OVERWRITE
           
static int UNABLE_TO_RENAME
           
 
Fields inherited from class org.pdfsam.console.exceptions.BasicPdfsamException
ERR_UNKNOWN
 
Fields inherited from class org.pdfsam.emp4j.exceptions.ParentEmp4jException
errorMessage, localizedErrorMessage
 
Constructor Summary
ConsoleException(int exceptionErrorCode)
           
ConsoleException(int exceptionErrorCode, java.lang.String[] args)
           
ConsoleException(int exceptionErrorCode, java.lang.String[] args, java.lang.Throwable e)
           
ConsoleException(int exceptionErrorCode, java.lang.Throwable e)
           
ConsoleException(java.lang.Throwable e)
           
 
Method Summary
 
Methods inherited from class org.pdfsam.emp4j.exceptions.ParentEmp4jException
getExceptionMessage, getLocalizedExceptionMessage, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

ERR_ZERO_LENGTH

public static final int ERR_ZERO_LENGTH
See Also:
Constant Field Values

CMD_LINE_HANDLER_NULL

public static final int CMD_LINE_HANDLER_NULL
See Also:
Constant Field Values

EMPTY_FILENAME

public static final int EMPTY_FILENAME
See Also:
Constant Field Values

CMD_LINE_VALIDATOR_NULL

public static final int CMD_LINE_VALIDATOR_NULL
See Also:
Constant Field Values

ERR_BAD_COMMAND

public static final int ERR_BAD_COMMAND
See Also:
Constant Field Values

CMD_LINE_EXECUTOR_NULL

public static final int CMD_LINE_EXECUTOR_NULL
See Also:
Constant Field Values

CMD_LINE_NULL

public static final int CMD_LINE_NULL
See Also:
Constant Field Values

PREFIX_REQUEST_NULL

public static final int PREFIX_REQUEST_NULL
See Also:
Constant Field Values

UNABLE_TO_RENAME

public static final int UNABLE_TO_RENAME
See Also:
Constant Field Values

UNABLE_TO_OVERWRITE

public static final int UNABLE_TO_OVERWRITE
See Also:
Constant Field Values

OVERWRITE_IS_FALSE

public static final int OVERWRITE_IS_FALSE
See Also:
Constant Field Values
Constructor Detail

ConsoleException

public ConsoleException(int exceptionErrorCode,
                        java.lang.String[] args,
                        java.lang.Throwable e)

ConsoleException

public ConsoleException(int exceptionErrorCode,
                        java.lang.Throwable e)

ConsoleException

public ConsoleException(int exceptionErrorCode)

ConsoleException

public ConsoleException(java.lang.Throwable e)

ConsoleException

public ConsoleException(int exceptionErrorCode,
                        java.lang.String[] args)