com.redstarhackers.exception
Class BusinessRuleException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.redstarhackers.exception.ApplicationException
              extended bycom.redstarhackers.exception.RuleFailureException
                  extended bycom.redstarhackers.exception.BusinessRuleException
All Implemented Interfaces:
java.io.Serializable

public class BusinessRuleException
extends RuleFailureException

Specialized rule failure exception that pertains to validation issues specifically.

Version:
$Revision: 1.3 $
Author:
$Author: kostya $
See Also:
Serialized Form

Field Summary
static ErrorCode BUS_RULE_DEFAULT_ERROR_CODE
           
 
Fields inherited from class com.redstarhackers.exception.RuleFailureException
VALIDATION_DEFAULT_ERROR_CODE
 
Fields inherited from class com.redstarhackers.exception.ApplicationException
APP_DEFAULT_ERROR_CODE
 
Constructor Summary
BusinessRuleException()
           
BusinessRuleException(ErrorCode code)
           
BusinessRuleException(ErrorCode code, java.lang.String details)
           
BusinessRuleException(ErrorCode code, java.lang.String details, java.lang.Throwable rootCause)
           
BusinessRuleException(ErrorCode code, java.lang.Throwable rootCause)
           
BusinessRuleException(java.lang.String details)
           
BusinessRuleException(java.lang.String details, java.lang.Throwable rootCause)
           
BusinessRuleException(java.lang.Throwable rootCause)
           
 
Methods inherited from class com.redstarhackers.exception.RuleFailureException
addException, addException, getErrorMessages, getExceptions, setExceptions
 
Methods inherited from class com.redstarhackers.exception.ApplicationException
getDetails, getErrorCode, getErrorMessage, getMessage
 
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
 

Field Detail

BUS_RULE_DEFAULT_ERROR_CODE

public static final ErrorCode BUS_RULE_DEFAULT_ERROR_CODE
Constructor Detail

BusinessRuleException

public BusinessRuleException()

BusinessRuleException

public BusinessRuleException(ErrorCode code)

BusinessRuleException

public BusinessRuleException(ErrorCode code,
                             java.lang.String details)

BusinessRuleException

public BusinessRuleException(java.lang.String details)

BusinessRuleException

public BusinessRuleException(java.lang.Throwable rootCause)

BusinessRuleException

public BusinessRuleException(ErrorCode code,
                             java.lang.Throwable rootCause)

BusinessRuleException

public BusinessRuleException(java.lang.String details,
                             java.lang.Throwable rootCause)

BusinessRuleException

public BusinessRuleException(ErrorCode code,
                             java.lang.String details,
                             java.lang.Throwable rootCause)