oracle.dmt.odm
Class ODMException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--oracle.dmt.odm.ODMException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidArgumentException, MiningObjectException, MiningOperationException
- public class ODMException
- extends java.lang.Exception
The exception ODMException
is a common superclass for ODM
exceptions. It may be thrown when a more specific exception cannot be
identified.
- See Also:
- Serialized Form
Type | Method |
int |
getErrorCode()
Returns the error code of the exception. |
java.lang.String |
getLocalizedMessage()
Returns the localized error message. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns the localized message given a locale. |
java.lang.String |
getMessage()
Returns a message that describes the cause of the exception. |
java.lang.Object[] |
getParameters()
For internal use only. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ODMException
public ODMException(int errorCode)
ODMException
public ODMException(int errorCode,
java.lang.Object[] parameters)
getMessage
public java.lang.String getMessage()
- Returns a message that describes the cause of the exception.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
String
- The message describing the cause
getErrorCode
public int getErrorCode()
- Returns the error code of the exception.
- Returns:
int
- The error code
getParameters
public java.lang.Object[] getParameters()
- For internal use only.
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Returns the localized error message.
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
- Returns:
String
- The localized message
getLocalizedMessage
public java.lang.String getLocalizedMessage(java.util.Locale locale)
- Returns the localized message given a locale.
- Parameters:
locale
- - A locale- Returns:
String
- The localized message associated with the locale