Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

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

Method Summary
 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.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

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

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

Copyright © 2003 Oracle Corporation. All Rights Reserved.