Rule Execution Server API

ilog.rules.res.persistence.trace
Class IlrTraceDAOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ilog.rules.res.persistence.trace.IlrTraceDAOException
All Implemented Interfaces:
com.ibm.rules.res.message.internal.LocalizedMessage, Serializable

public class IlrTraceDAOException
extends Exception
implements com.ibm.rules.res.message.internal.LocalizedMessage

Thrown by the trace DAO when an error occurs.

Since:
7.0
See Also:
Serialized Form

Constructor Summary
IlrTraceDAOException()
          Constructs a new exception with null as its detail message.
IlrTraceDAOException(String s)
          Constructs a new exception with the specified detail message.
IlrTraceDAOException(String resourceBundleName, String messageCode, String[] messageParams)
          Constructor for localized exceptions.
IlrTraceDAOException(String resourceBundleName, String messageCode, String[] messageParams, Throwable cause)
          Constructor for localized exceptions.
IlrTraceDAOException(String s, Throwable throwable)
          Constructs a new exception with the specified detail message and cause.
IlrTraceDAOException(Throwable throwable)
          Constructs a new exception with the specified cause.
 
Method Summary
 String getLocalizedMessage(Locale locale)
           
 String getMessage()
           
 String getMessageCode()
           
 String[] getMessageParameters()
           
 String getResourceBundleName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

IlrTraceDAOException

public IlrTraceDAOException()
Constructs a new exception with null as its detail message.


IlrTraceDAOException

public IlrTraceDAOException(String s)
Constructs a new exception with the specified detail message.

Parameters:
s - the detail message.

IlrTraceDAOException

public IlrTraceDAOException(String s,
                            Throwable throwable)
Constructs a new exception with the specified detail message and cause.

Parameters:
s - the detail message
throwable - the cause

IlrTraceDAOException

public IlrTraceDAOException(Throwable throwable)
Constructs a new exception with the specified cause.

Parameters:
throwable - the cause

IlrTraceDAOException

public IlrTraceDAOException(String resourceBundleName,
                            String messageCode,
                            String[] messageParams,
                            Throwable cause)
Constructor for localized exceptions.

Parameters:
resourceBundleName - resource bundle name
messageCode - a key in the bundle
messageParams - message parameters or null
cause - Throwable that cause the exception, or null

IlrTraceDAOException

public IlrTraceDAOException(String resourceBundleName,
                            String messageCode,
                            String[] messageParams)
Constructor for localized exceptions.

Parameters:
resourceBundleName - resource bundle name
messageCode - a key in the bundle
messageParams - message parameters or null
Method Detail

getResourceBundleName

public String getResourceBundleName()

getMessageCode

public String getMessageCode()

getMessageParameters

public String[] getMessageParameters()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getLocalizedMessage

public String getLocalizedMessage(Locale locale)

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013