|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.util.ConstraintExceptionBuffer
|
+--org.infoglue.cms.util.AccessConstraintExceptionBuffer
An extension of the ConstraintExceptionBuffer to handle access control.
| Constructor Summary | |
AccessConstraintExceptionBuffer()
Constructs a ConstraintExceptionBuffer with no exceptions in it. |
|
| Method Summary | |
void |
add(AccessConstraintException exception)
Adds the specified exception to the exceptions of this buffer. |
void |
throwIfNotEmpty()
Throws the root exception; if this buffer contains no exceptions, nothing happens. |
AccessConstraintException |
toAccessConstraintException()
Converts the exceptions of this buffer to chained constraint exceptions. |
| Methods inherited from class org.infoglue.cms.util.ConstraintExceptionBuffer |
add, add, equals, hashCode, isEmpty, toConstraintException, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AccessConstraintExceptionBuffer()
| Method Detail |
public final void add(AccessConstraintException exception)
exception - the exception to add (chained exceptions legal).
public void throwIfNotEmpty()
throws AccessConstraintException
throwIfNotEmpty in class ConstraintExceptionBufferConstraintException - if this buffer contains any exceptions.
AccessConstraintExceptionpublic AccessConstraintException toAccessConstraintException()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||