RecoverableException
Indicates that an exceptional condition/problem has occurred within the application’s domain logic.
Throwing this exception is equivalent to calling MessageService#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 Causeway 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.
API
RecoverableException.java
class RecoverableException {
RecoverableException(String msg)
RecoverableException(TranslatableString translatableMessage, Class<?> translationContextClass, String translationContextMethod)
RecoverableException(Throwable cause)
RecoverableException(String msg, Throwable cause)
RecoverableException(TranslatableString translatableMessage, Class<?> translationContextClass, String translationContextMethod, Throwable cause)
String getMessage()
}