|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--javax.datamining.JDMIllegalArgumentException
The class JDMIllegalArgumentException extends
java.lang.IllegalArgumentException
to indicate conditions where the specified argument cannot be accepted by the API.
This exception is associated with the following error codes.
JDMR_NULL_ARGUMENT
JDMR_ARRAY_MISMATCH
JDMR_INVALID_ARGUMENT
JDMR_INVALID_STRING_ARGUMENT
JDMR_STRING_TOO_LONG
JDMR_INVALID_CLASS_NAME
JDMR_INVALID_DATA_TYPE
JDMR_ARRAY_SIZE_EXCEEDED
JDMR_INVALID_OBJECT_TYPE
JDMR_INVALID_OBJECT
JDMErrorCodes,
IllegalArgumentException,
Serialized Form| Field Summary |
| Constructor Summary | |
JDMIllegalArgumentException()
Creates an instance of JDMIllegalArgumentException. |
|
JDMIllegalArgumentException(int errorCode,
java.lang.String errorMessage)
Creates an instance of JDMIllegalArgumentException
with the specified message and error code. |
|
JDMIllegalArgumentException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
Creates an instance of JDMIllegalArgumentException
with the specified message and error code together
with the vendor specific error code and message. |
|
| Method Summary | |
int |
getErrorCode()
Returns the JDM error code of this exception. |
int |
getVendorErrorCode()
Returns the vendor-specific error code of the exception. |
java.lang.String |
getVendorErrorMessage()
Returns the vendor-specific error message of the exception. |
| 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 |
| Constructor Detail |
public JDMIllegalArgumentException()
JDMIllegalArgumentException.
The error message defaults to null and the error code
to JDMR_RUNTIME_GENERIC_ERROR.
public JDMIllegalArgumentException(int errorCode,
java.lang.String errorMessage)
JDMIllegalArgumentException
with the specified message and error code.
errorCode - An integer to indicate the cause of the exceptionerrorMessage - A message that describes the exception
public JDMIllegalArgumentException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
JDMIllegalArgumentException
with the specified message and error code together
with the vendor specific error code and message.
errorCode - An integer to indicate the cause of the exceptionerrorMessage - A message that describes the exceptionvendorCode - A vendor specific number to indicate the cause of the exceptionvendorMessage - A vendor specific message that describes the exception| Method Detail |
public int getErrorCode()
public int getVendorErrorCode()
public java.lang.String getVendorErrorMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||