|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.exception.DistributedException
com.ibm.websphere.brb.BusinessRuleBeansException
com.ibm.websphere.brb.ConstraintViolationException
An exception that can be thrown when one or more constraint type rules in a trigger point fail. The information about the individual rule failures is contained in the ConstraintReturn objects in this exception. A text message can be obtained from each ConstraintReturn object indicating what the failure is that it represents.
Field Summary | |
---|---|
ConstraintReturn[] |
constraintReturns
Array of ConstraintReturn objects representing the rule or rules that failed. |
Fields inherited from class com.ibm.websphere.brb.BusinessRuleBeansException |
---|
DEFAULT_BRB_RESOURCE_BUNDLE |
Constructor Summary | |
---|---|
ConstraintViolationException()
Creates a new ConstraintViolationException |
|
ConstraintViolationException(ConstraintReturn[] constraintReturns)
Creates a new ConstraintViolationException |
Method Summary | |
---|---|
ConstraintReturn[] |
getConstraintReturns()
Returns the array of ConstraintReturn objects associated with this exception. |
java.lang.String |
getLocalizedMessage()
Retrieve the text message for this exception. |
java.lang.String |
getMessage()
Retrieve the text message for this exception. |
void |
setConstraintReturns(ConstraintReturn[] newConstraintReturns)
Set the array of ConstraintReturn objects associated with this exception. |
Methods inherited from class com.ibm.websphere.exception.DistributedException |
---|
getException, getExceptionInfo, getOriginalException, getPreviousException, printStackTrace, printStackTrace, printStackTrace, printSuperStackTrace, printSuperStackTrace, setDefaultMessage, setLocalizationInfo |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public ConstraintReturn[] constraintReturns
Constructor Detail |
public ConstraintViolationException()
public ConstraintViolationException(ConstraintReturn[] constraintReturns)
Method Detail |
public ConstraintReturn[] getConstraintReturns()
public java.lang.String getLocalizedMessage()
public java.lang.String getMessage()
public void setConstraintReturns(ConstraintReturn[] newConstraintReturns)
newConstraintReturns
- array of ConstraintReturn objects representing the individual
rule failures.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |