|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.millscript.commons.alert.Alert
org.millscript.commons.util.alerts.MapAlert
org.millscript.commons.util.alerts.BagAlert
public abstract class BagAlert
This class provides the basis for a hierarchy of Bag specific
alerts, so you can easily catch alerts thrown while using Bags.
As a Bag is just a Map, any code which already
deals with Maps will work without modification.
| Constructor Summary | |
|---|---|
protected |
BagAlert(java.lang.String comp,
java.lang.String exp)
Constructs a new alert with the specified complaint and explanation. |
| Method Summary |
|---|
| Methods inherited from class org.millscript.commons.alert.Alert |
|---|
culprit, culprit, culprit, culprit, culprit, culprit, culprit, culprit, decorate, decorate, escape, getComplaint, getCulprits, getMessage, getParentAlert, getParentThrowable, getPhase, getReason, isMishap, mishap, origin, remishap, report, setParentAlert, setParentThrowable, setPhase, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BagAlert(java.lang.String comp,
java.lang.String exp)
comp - the alerts complaintexp - the explanation for the alert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||