|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.ipdr.ftp.IPDRFTPException
public class IPDRFTPException
This IPDRFTPException class will have all the variables which will be used to store the Fatal Exception information that have occured.
Field Summary | |
---|---|
static int |
IPDR_BRRECORD_NULL
|
static int |
IPDR_CONTROLFILEDIR_NULL
|
static int |
IPDR_CONTROLFILENAMEPOLICY_NULL
|
static int |
IPDR_CONTROLFILEPREFIX_NULL
|
static int |
IPDR_CONTROLFILESUFFIX_NULL
|
static int |
IPDR_FILE_NOT_FOUND
|
static int |
IPDR_GROUPID_NULL
|
static int |
IPDR_INVALID_VALUE
|
static int |
IPDR_INVALID_XML
|
static int |
IPDR_IO_EXCEPTION
|
static int |
IPDR_LOCAL_DIRECTORY_NOT_FOUND
|
static int |
IPDR_MALFORMED_URL
|
static int |
IPDR_NULL_PARAMETER
|
static int |
IPDR_OK
|
static int |
IPDR_PARSING_ERROR
|
static int |
IPDR_PATH_NOT_FILE
|
static int |
IPDR_READ_PERMISSION_DENIED
|
static int |
IPDR_SUBSCRIPTION_EXISTS
|
static int |
IPDR_SUBSCRIPTION_NOT_FOUND
|
static int |
IPDR_UNKNOWN_EXCEPTION
|
static int |
IPDR_WRITE_PERMISSION_DENIED
|
Constructor Summary | |
---|---|
IPDRFTPException(int exceptionCode,
java.lang.String exceptionLocation,
java.lang.Exception ex)
Constructor for IPDRFTPException passing exception code, exception location and exception caught. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Returns the exception caught by the code |
int |
getExceptionCode()
Returns the exception code for the exception |
java.lang.String |
getExceptionLocation()
Returns the exception location for the exception |
java.lang.String |
getExceptionMsg(int exceptioncode)
Returns the exception message |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int IPDR_OK
public static final int IPDR_UNKNOWN_EXCEPTION
public static final int IPDR_SUBSCRIPTION_EXISTS
public static final int IPDR_SUBSCRIPTION_NOT_FOUND
public static final int IPDR_PATH_NOT_FILE
public static final int IPDR_FILE_NOT_FOUND
public static final int IPDR_READ_PERMISSION_DENIED
public static final int IPDR_IO_EXCEPTION
public static final int IPDR_WRITE_PERMISSION_DENIED
public static final int IPDR_NULL_PARAMETER
public static final int IPDR_INVALID_VALUE
public static final int IPDR_MALFORMED_URL
public static final int IPDR_GROUPID_NULL
public static final int IPDR_CONTROLFILEDIR_NULL
public static final int IPDR_CONTROLFILEPREFIX_NULL
public static final int IPDR_CONTROLFILENAMEPOLICY_NULL
public static final int IPDR_CONTROLFILESUFFIX_NULL
public static final int IPDR_PARSING_ERROR
public static final int IPDR_INVALID_XML
public static final int IPDR_LOCAL_DIRECTORY_NOT_FOUND
public static final int IPDR_BRRECORD_NULL
Constructor Detail |
---|
public IPDRFTPException(int exceptionCode, java.lang.String exceptionLocation, java.lang.Exception ex)
exceptionCode
- Exception code for the exceptionexceptionLocation
- Location for the exception causedex
- Exception caughtMethod Detail |
---|
public int getExceptionCode()
public java.lang.String getExceptionLocation()
public java.lang.Exception getException()
public java.lang.String getExceptionMsg(int exceptioncode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |