|
|||||||||
| 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
|
+--javax.datamining.JDMException
|
+--javax.datamining.InvalidObjectException
The class InvalidObjectException extends JDMException
to indicate conditions regarding the following:
JDM_ENTRY_NOT_FOUND (EntryNotFoundException)
JDM_DUPLICATE_ENTRY (DuplicateEntryException)
JDM_OBJECT_NOT_FOUND (ObjectNotFoundException)
JDM_OBJECT_EXISTS (ObjectExistsException)
Note that these error codes have their own exceptions as given in the parentheses.
JDMErrorCodes,
JDMException,
Serialized Form| Field Summary |
| Constructor Summary | |
InvalidObjectException()
Creates an instance of InvalidObjectException. |
|
InvalidObjectException(int errorCode,
java.lang.String errorMessage)
Creates an instance of InvalidObjectException
with the specified message and error code. |
|
InvalidObjectException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
Creates an instance of InvalidObjectException
with the specified message and error code together
with the vendor specific error code and message. |
|
| Methods inherited from class javax.datamining.JDMException |
getErrorCode, getVendorErrorCode, getVendorErrorMessage |
| 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 InvalidObjectException()
InvalidObjectException.
The error message defaults to null and the error code to JDM_GENERIC_ERROR.
public InvalidObjectException(int errorCode,
java.lang.String errorMessage)
InvalidObjectException
with the specified message and error code.
errorCode - An integer to indicate the cause of the exceptionerrorMessage - A message that describes the exception
public InvalidObjectException(int errorCode,
java.lang.String errorMessage,
int vendorCode,
java.lang.String vendorMessage)
InvalidObjectException
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||