Throwing this exception is equivalent to calling {@link DomainObjectContainer#raiseError(String)}. The framework will trap the error and display the exception message as a warning.
This exception should only be thrown for "recoverable" exceptions, that is, those which could be anticipated by the application. It should not be thrown for fatal, unanticipated exceptions.
The framework attempts to apply some heuristics; if the underlying Isis transaction has been aborted (for example as the result of a problem persisting some data) but then the application attempts to throw this exception, the exception will be promoted to a fatal exception.
Note that this exception has identical semantics to {@link RecoverableException}, and can be considered a synonym. @see RecoverableException @see NonRecoverableException @see FatalException
Runtime exception encapsulating a List
of exceptions that have occurred during the request processing lifecycle.
This exception should not be thrown for errors such as invalid user input or data access errors. Basically, this represents a defect in the program or its runtime configuration. This is a very general top-level exception. Before creating and throwing a new instance of this type, consider if a more specific subclass would be more appropriate.
|
|
|
|
|
|
|
|
|
|