ilog.rules.res.persistence.trace
Class IlrTraceDAOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ilog.rules.res.persistence.trace.IlrTraceDAOException
-
- All Implemented Interfaces:
- com.ibm.rules.res.message.internal.LocalizedMessage, java.io.Serializable
public class IlrTraceDAOException extends java.lang.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
Constructors Constructor and Description IlrTraceDAOException()
Constructs a new exception with null as its detail message.IlrTraceDAOException(java.lang.String s)
Constructs a new exception with the specified detail message.IlrTraceDAOException(java.lang.String resourceBundleName, java.lang.String messageCode, java.lang.String[] messageParams)
Constructor for localized exceptions.IlrTraceDAOException(java.lang.String resourceBundleName, java.lang.String messageCode, java.lang.String[] messageParams, java.lang.Throwable cause)
Constructor for localized exceptions.IlrTraceDAOException(java.lang.String s, java.lang.Throwable throwable)
Constructs a new exception with the specified detail message and cause.IlrTraceDAOException(java.lang.Throwable throwable)
Constructs a new exception with the specified cause.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getLocalizedMessage(java.util.Locale locale)
java.lang.String
getMessage()
java.lang.String
getMessageCode()
java.lang.String[]
getMessageParameters()
java.lang.String
getResourceBundleName()
-
-
-
Constructor Detail
-
IlrTraceDAOException
public IlrTraceDAOException()
Constructs a new exception with null as its detail message.
-
IlrTraceDAOException
public IlrTraceDAOException(java.lang.String s)
Constructs a new exception with the specified detail message.- Parameters:
s
- the detail message.
-
IlrTraceDAOException
public IlrTraceDAOException(java.lang.String s, java.lang.Throwable throwable)
Constructs a new exception with the specified detail message and cause.- Parameters:
s
- the detail messagethrowable
- the cause
-
IlrTraceDAOException
public IlrTraceDAOException(java.lang.Throwable throwable)
Constructs a new exception with the specified cause.- Parameters:
throwable
- the cause
-
IlrTraceDAOException
public IlrTraceDAOException(java.lang.String resourceBundleName, java.lang.String messageCode, java.lang.String[] messageParams, java.lang.Throwable cause)
Constructor for localized exceptions.- Parameters:
resourceBundleName
- resource bundle namemessageCode
- a key in the bundlemessageParams
- message parameters ornull
cause
- Throwable that cause the exception, ornull
-
IlrTraceDAOException
public IlrTraceDAOException(java.lang.String resourceBundleName, java.lang.String messageCode, java.lang.String[] messageParams)
Constructor for localized exceptions.- Parameters:
resourceBundleName
- resource bundle namemessageCode
- a key in the bundlemessageParams
- message parameters ornull
-
-
Method Detail
-
getResourceBundleName
public java.lang.String getResourceBundleName()
-
getMessageCode
public java.lang.String getMessageCode()
-
getMessageParameters
public java.lang.String[] getMessageParameters()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getLocalizedMessage
public java.lang.String getLocalizedMessage(java.util.Locale locale)
-
-