Skip navigation links
oracle.jbo.uicli.binding
Class JUErrorHandlerThrow
java.lang.Object
oracle.jbo.uicli.binding.JUErrorHandlerThrow
- All Implemented Interfaces:
- JUErrorHandler
-
public class JUErrorHandlerThrow
- extends java.lang.Object
- implements JUErrorHandler
Implements a default error handling class for the JClient framework. This handler simply throws exceptions it receives as JboExceptions (by creating a JboException if required).
- See Also:
JboException
, JUErrorHandler
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUErrorHandlerThrow
public JUErrorHandlerThrow()
reportException
public 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).
-
- Specified by:
reportException
in interface JUErrorHandler
reportException
public void reportException(JUFormBinding formBnd,
java.lang.Exception ex,
boolean reportExceptionNow)
-
- Specified by:
reportException
in interface JUErrorHandler
-
- Parameters:
formBnd
- the binding where the exception was caused
ex
- the exception to report
reportExceptionNow
- 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.
- See Also:
JUErrorHandler.reportException(JUFormBinding, Exception)
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.