public class JUErrorHandlerThrow extends java.lang.Object implements JUErrorHandler
JboException
, JUErrorHandler
Constructor and Description |
---|
JUErrorHandlerThrow() |
Modifier and Type | Method and Description |
---|---|
void |
reportException(JUFormBinding formBnd, java.lang.Exception ex)
This method simply throws the exception 'ex' as a JboException (by creating a new JboException if required).
|
void |
reportException(JUFormBinding formBnd, java.lang.Exception ex, boolean reportExceptionNow) |
public void reportException(JUFormBinding formBnd, java.lang.Exception ex)
reportException
in interface JUErrorHandler
public void reportException(JUFormBinding formBnd, java.lang.Exception ex, boolean reportExceptionNow)
reportException
in interface JUErrorHandler
formBnd
- the binding where the exception was causedex
- the exception to reportreportExceptionNow
- true if the caller should be stopped until the exception is reported. If an exception is fatal, and the calling program wants to abort, the calling program typically wants to wait till the exception is shown to the user.JUErrorHandler.reportException(JUFormBinding, Exception)