com.ibm.commerce.rules.exception
Class RulesSystemDataModelException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.ibm.commerce.rules.exception.RulesSystemRuntimeException
                          |
                          +--com.ibm.commerce.rules.exception.RulesSystemDataModelException
All Implemented Interfaces:
java.io.Serializable

public class RulesSystemDataModelException
extends RulesSystemRuntimeException

A base class for exceptions thrown from within the rules system data model. Since this is a runtime (unchecked) exception, it is expected that the rules system data model will throw this exception whenever an unrecoverable problem occurs, and not problems that good code would have avoided. For example, the underlying persistent store fails (database, file system, network) or an implementation of the rules system data model does not comply with its contract.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
RulesSystemDataModelException(java.lang.String className, java.lang.String methodName, java.lang.Throwable aSourceThrowable)
           
 
Method Summary
protected  com.ibm.commerce.services.logging.Message getExceptionMessage()
          Subclasses must return an exception message to be formatted when a client calls getMessage().
protected  java.lang.Object[] getMessageParameters()
          The source throwable is used as a problem detail message.
 java.lang.Throwable getSourceThrowable()
           
 
Methods inherited from class com.ibm.commerce.rules.exception.RulesSystemRuntimeException
getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

RulesSystemDataModelException

public RulesSystemDataModelException(java.lang.String className,
                                     java.lang.String methodName,
                                     java.lang.Throwable aSourceThrowable)
See Also:
RulesSystemRuntimeException
Method Detail

getExceptionMessage

protected com.ibm.commerce.services.logging.Message getExceptionMessage()
Description copied from class: RulesSystemRuntimeException
Subclasses must return an exception message to be formatted when a client calls getMessage().
Overrides:
getExceptionMessage in class RulesSystemRuntimeException
See Also:
RulesSystemRuntimeException

getMessageParameters

protected java.lang.Object[] getMessageParameters()
The source throwable is used as a problem detail message.
Overrides:
getMessageParameters in class RulesSystemRuntimeException
See Also:
RulesSystemRuntimeException

getSourceThrowable

public java.lang.Throwable getSourceThrowable()