Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.mm.sdk.logtool.DKLogException
                    |
                    +--com.ibm.mm.sdk.common.DKException
All Implemented Interfaces:
DKConstant, java.io.Serializable
Direct Known Subclasses:
DKDatastoreAccessError, DKDatastoreError, DKObjectAlreadyRegistered, DKObjectNotRegistered, DKSystemError, DKUsageError, DKXDOError

public class DKException
extends com.ibm.mm.sdk.logtool.DKLogException
implements DKConstant, java.io.Serializable

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Constructor Summary
DKException()
          Constructs a DKException Exception
DKException(java.lang.String message)
          Constructs a DKException Exception
DKException(java.lang.String message, com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId, com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId, int errorCode)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId, int errorCode, com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId, java.lang.String errorState, int errorCode)
          Constructs a DKException Exception
DKException(java.lang.String message, int errorId, java.lang.String errorState, int errorCode, com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
          Constructs a DKException Exception
 
Method Summary
 int errorCode()
          Get error code
 java.lang.String errorState()
          Get error state
 short exceptionId()
          Get exception Identifier
 int getErrorId()
          Get error Identifier
 java.lang.String name()
          Get Exception name
 void setErrorId(int errorId)
          Set error Identifier
 
Methods inherited from class com.ibm.mm.sdk.logtool.DKLogException
getErrorEventIdString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DKException

public DKException()
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code

DKException

public DKException(java.lang.String message)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code

DKException

public DKException(java.lang.String message,
                   int errorId)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code

DKException

public DKException(java.lang.String message,
                   int errorId,
                   int errorCode)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code

DKException

public DKException(java.lang.String message,
                   int errorId,
                   java.lang.String errorState,
                   int errorCode)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code

DKException

public DKException(java.lang.String message,
                   com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code
mi - message inserts list

DKException

public DKException(java.lang.String message,
                   int errorId,
                   com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code
mi - message inserts list

DKException

public DKException(java.lang.String message,
                   int errorId,
                   int errorCode,
                   com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code
mi - message inserts list

DKException

public DKException(java.lang.String message,
                   int errorId,
                   java.lang.String errorState,
                   int errorCode,
                   com.ibm.mm.sdk.logtool.DKLogMessageInserts mi)
Constructs a DKException Exception
Parameters:
message - message text
errorId - error identifier
errorState - error state
errorCode - error code
mi - message inserts list
Method Detail

errorState

public java.lang.String errorState()
Get error state
Returns:
error state

errorCode

public int errorCode()
Get error code
Returns:
error code

name

public java.lang.String name()
Get Exception name
Returns:
Exception name

getErrorId

public int getErrorId()
Get error Identifier
Returns:
error Id

setErrorId

public void setErrorId(int errorId)
Set error Identifier
Parameters:
errorId - error Id

exceptionId

public short exceptionId()
Get exception Identifier
Returns:
exception Id

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.