Content Manager OnDemand V7 WEK APIs

com.ibm.edms.od
Class ODException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.edms.od.ODException
All Implemented Interfaces:
java.io.Serializable

public class ODException
extends java.lang.Exception
implements java.io.Serializable

This class represents OD exceptions which may occur using the API's.

(c) Copyright IBM Corp. 1993, 2003. All Rights Reserved

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
protected ODException()
           
protected ODException(java.lang.String message)
           
protected ODException(java.lang.String message, int errorId)
           
 
Method Summary
 int getErrorId()
          Get the error id of the exception.
 java.lang.String getErrorMsg()
          Get the message text of the exception.
protected  void setErrorId(int errorId)
           
 
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
 

Constructor Detail

ODException

protected ODException()

ODException

protected ODException(java.lang.String message)

ODException

protected ODException(java.lang.String message,
                      int errorId)
Method Detail

getErrorMsg

public java.lang.String getErrorMsg()
Get the message text of the exception.

Returns:
String Message text.

getErrorId

public int getErrorId()
Get the error id of the exception.

Returns:
int Error id.

setErrorId

protected void setErrorId(int errorId)

CM OnDemand V7 WEK Java APIs

(c)Copyright International Business Machines Corporation 2001, 2003. IBM Corp. All rights reserved.