com.ibm.mm.sdk.common

Class DKException

    • Constructor Summary

      Constructors 
      Constructor and Description
      DKException(java.lang.String message) 
      DKException(java.lang.String message, int errorId, int errorCode)
      Constructs a DKException with message, error ID, and error code.
      DKException(java.lang.String message, int errorId, java.lang.String errorState, int errorCode)
      Constructs a DKException with message, error ID, error state, and error code.
      DKException(java.lang.String message, java.lang.Throwable cause) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int errorCode() 
      int errorId() 
      java.lang.String errorState() 
      short exceptionId() 
      int getErrorId()
      Get error Identifier
      java.lang.String name() 
      void setErrorCode(int errorCode) 
      void setErrorState(java.lang.String errorState) 
      void setExceptionId(short exceptionId) 
      void setName(java.lang.String name) 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • DKException

        public DKException(java.lang.String message)
      • DKException

        public DKException(java.lang.String message,
                           java.lang.Throwable cause)
      • DKException

        public DKException(java.lang.String message,
                           int errorId,
                           int errorCode)
        Constructs a DKException with message, error ID, and error code.
        Parameters:
        message - message text
        errorId - error identifier
        errorCode - error code
      • DKException

        public DKException(java.lang.String message,
                           int errorId,
                           java.lang.String errorState,
                           int errorCode)
        Constructs a DKException with message, error ID, error state, and error code.
        Parameters:
        message - message text
        errorId - error identifier
        errorState - error state
        errorCode - error code
    • Method Detail

      • errorCode

        public int errorCode()
      • setErrorCode

        public void setErrorCode(int errorCode)
      • errorState

        public java.lang.String errorState()
      • setErrorState

        public void setErrorState(java.lang.String errorState)
      • exceptionId

        public short exceptionId()
      • setExceptionId

        public void setExceptionId(short exceptionId)
      • errorId

        public int errorId()
      • getErrorId

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

        public java.lang.String name()
      • setName

        public void setName(java.lang.String name)
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.