org.pdfsam.console.exceptions.console
Class ValidationException

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
                          extended by org.pdfsam.console.exceptions.console.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends ConsoleException

Exception during parameters validation

Author:
Andrea Vacondio
See Also:
Serialized Form

Field Summary
static int ERR_BOUNDS_INTERSECTS
           
static int ERR_CANNOT_MERGE
           
static int ERR_DEGREES_NOT_ALLOWED
           
static int ERR_ILLEGAL_U
           
static int ERR_NOT_DIR
           
static int ERR_NOT_PDF
           
static int ERR_NOT_POSITIVE
           
static int ERR_NOT_VALID_LABEL_PREFIX
           
static int ERR_PARAM_ROTATION
           
static int ERR_START_BIGGER_THAN_END
           
static int ERR_UNK_LABEL_STYLE
           
static int ERR_WRONG_PAGE_LABEL
           
static int ERR_WRONG_ROTATION
           
 
Fields inherited from class org.pdfsam.console.exceptions.console.ConsoleException
CMD_LINE_EXECUTOR_NULL, CMD_LINE_HANDLER_NULL, CMD_LINE_NULL, CMD_LINE_VALIDATOR_NULL, EMPTY_FILENAME, ERR_BAD_COMMAND, ERR_ZERO_LENGTH, OVERWRITE_IS_FALSE, PREFIX_REQUEST_NULL, UNABLE_TO_OVERWRITE, 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
ValidationException(int exceptionErrorCode)
           
ValidationException(int exceptionErrorCode, java.lang.String[] args)
           
ValidationException(int exceptionErrorCode, java.lang.String[] args, java.lang.Throwable e)
           
ValidationException(int exceptionErrorCode, java.lang.Throwable e)
           
ValidationException(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_WRONG_ROTATION

public static final int ERR_WRONG_ROTATION
See Also:
Constant Field Values

ERR_DEGREES_NOT_ALLOWED

public static final int ERR_DEGREES_NOT_ALLOWED
See Also:
Constant Field Values

ERR_PARAM_ROTATION

public static final int ERR_PARAM_ROTATION
See Also:
Constant Field Values

ERR_NOT_PDF

public static final int ERR_NOT_PDF
See Also:
Constant Field Values

ERR_NOT_DIR

public static final int ERR_NOT_DIR
See Also:
Constant Field Values

ERR_WRONG_PAGE_LABEL

public static final int ERR_WRONG_PAGE_LABEL
See Also:
Constant Field Values

ERR_UNK_LABEL_STYLE

public static final int ERR_UNK_LABEL_STYLE
See Also:
Constant Field Values

ERR_NOT_VALID_LABEL_PREFIX

public static final int ERR_NOT_VALID_LABEL_PREFIX
See Also:
Constant Field Values

ERR_ILLEGAL_U

public static final int ERR_ILLEGAL_U
See Also:
Constant Field Values

ERR_NOT_POSITIVE

public static final int ERR_NOT_POSITIVE
See Also:
Constant Field Values

ERR_CANNOT_MERGE

public static final int ERR_CANNOT_MERGE
See Also:
Constant Field Values

ERR_START_BIGGER_THAN_END

public static final int ERR_START_BIGGER_THAN_END
See Also:
Constant Field Values

ERR_BOUNDS_INTERSECTS

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

ValidationException

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

ValidationException

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

ValidationException

public ValidationException(int exceptionErrorCode)

ValidationException

public ValidationException(java.lang.Throwable e)

ValidationException

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