public class EDoc2Exception extends Exception
EDoc2,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
REASON_BAD_FORMAT
Invalid EDoc format.
|
static int |
REASON_FILE_WRITE_ACCESS
File write access error.
|
static int |
REASON_GENERAL
General error.
|
static int |
REASON_INVALID_STRUCTURE
Invalid EDoc structure.
|
static int |
REASON_IO
IO error.
|
| Constructor and Description |
|---|
EDoc2Exception(String message,
int reason) |
EDoc2Exception(String message,
Throwable cause,
int reason) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
int |
getReason()
Returns reason code of the exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int REASON_GENERAL
public static final int REASON_IO
public static final int REASON_FILE_WRITE_ACCESS
public static final int REASON_BAD_FORMAT
public static final int REASON_INVALID_STRUCTURE
public EDoc2Exception(String message, int reason)
public int getReason()
public String getMessage()
getMessage in class Throwable