com.extentech.ExtenXLS
Class WorkBookException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.extentech.formats.XLS.WorkBookException
                  extended by com.extentech.ExtenXLS.WorkBookException
All Implemented Interfaces:
Serializable

public class WorkBookException
extends com.extentech.formats.XLS.WorkBookException

WorkBookInstantiationException is thrown when a workbook cannot be parsed for a particular reason. Error codes can be retrieved with getErrorCode, which map to the static error ints

See Also:
Serialized Form

Field Summary
static int DECRYPTION_ERROR
           
static int DECRYPTION_INCORRECT_FORMAT
           
static int DECRYPTION_INCORRECT_PASSWORD
           
static int DOUBLE_STREAM_FILE
           
static int ENCRYPTION_ERROR
           
static int ILLEGAL_INIT_ERROR
           
static int LICENSING_FAILED
           
static int NOT_BIFF8_FILE
           
static int READ_ONLY_EXCEPTION
           
static int RUNTIME_ERROR
           
static int SHEETPROTECT_INCORRECT_PASSWORD
           
static int SMALLBLOCK_FILE
           
static int UNSPECIFIED_INIT_ERROR
           
static int WRITING_ERROR
           
 
Constructor Summary
WorkBookException(String n, int x)
           
WorkBookException(String string, int x, Exception e)
           
 
Method Summary
 
Methods inherited from class com.extentech.formats.XLS.WorkBookException
getErrorCode, getWrappedException, toString
 
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
 

Field Detail

DOUBLE_STREAM_FILE

public static final int DOUBLE_STREAM_FILE
See Also:
Constant Field Values

NOT_BIFF8_FILE

public static final int NOT_BIFF8_FILE
See Also:
Constant Field Values

LICENSING_FAILED

public static final int LICENSING_FAILED
See Also:
Constant Field Values

UNSPECIFIED_INIT_ERROR

public static final int UNSPECIFIED_INIT_ERROR
See Also:
Constant Field Values

RUNTIME_ERROR

public static final int RUNTIME_ERROR
See Also:
Constant Field Values

SMALLBLOCK_FILE

public static final int SMALLBLOCK_FILE
See Also:
Constant Field Values

WRITING_ERROR

public static final int WRITING_ERROR
See Also:
Constant Field Values

DECRYPTION_ERROR

public static final int DECRYPTION_ERROR
See Also:
Constant Field Values

DECRYPTION_INCORRECT_PASSWORD

public static final int DECRYPTION_INCORRECT_PASSWORD
See Also:
Constant Field Values

ENCRYPTION_ERROR

public static final int ENCRYPTION_ERROR
See Also:
Constant Field Values

DECRYPTION_INCORRECT_FORMAT

public static final int DECRYPTION_INCORRECT_FORMAT
See Also:
Constant Field Values

ILLEGAL_INIT_ERROR

public static final int ILLEGAL_INIT_ERROR
See Also:
Constant Field Values

READ_ONLY_EXCEPTION

public static final int READ_ONLY_EXCEPTION
See Also:
Constant Field Values

SHEETPROTECT_INCORRECT_PASSWORD

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

WorkBookException

public WorkBookException(String n,
                         int x)

WorkBookException

public WorkBookException(String string,
                         int x,
                         Exception e)


Copyright © 2011 Extentech Inc. All Rights Reserved.