![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspose.cells.CellsException
public class CellsException
The exception that is thrown which indicates an error occurs.
Field Summary | |
---|---|
static int |
FILE_CORRUPTED
Represents the excel file which you are trying to parse is corrupted. |
static int |
GENERAL
Represents a general error. |
static int |
ILLEGAL_OPERATION
Represents an illegal operation is performed. |
static int |
INTERNAL_CHECK_ERROR
Reprensents an internal logic check fails. |
static int |
INTERNAL_IO_ERROR
Represents an internal I/O error occurs while reading or writing. |
static int |
INVALID_LICENSE
Reprensents a license related error. |
static int |
UNSUPPORTED_FEATURES
Represents that unsupported features are encounted. |
Constructor Summary | |
---|---|
CellsException()
Initializes a new instance of the CellsException class. |
|
CellsException(java.lang.String message,
int code)
Initializes a new instance of the Exception class. |
Method Summary | |
---|---|
int |
getCode()
Gets the exception code. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int GENERAL
public static final int FILE_CORRUPTED
public static final int ILLEGAL_OPERATION
public static final int UNSUPPORTED_FEATURES
public static final int INTERNAL_IO_ERROR
public static final int INTERNAL_CHECK_ERROR
public static final int INVALID_LICENSE
Constructor Detail |
---|
public CellsException(java.lang.String message, int code)
message
- the detail message.code
- exception code. Must be one of the constant fields of CellsException.public CellsException()
Method Detail |
---|
public int getCode()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |