public class ServiceJboExceptionHandler extends java.lang.Object implements JboExceptionHandler
| Constructor and Description |
|---|
ServiceJboExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
emptyWarnings() |
void |
finishedProcessingPiggyback(java.lang.Exception[] exArray) |
java.util.ArrayList |
getWarnings() |
void |
handleException(java.lang.Exception ex,
boolean lastEntryInPiggyback)
Catches an exception thrown by the middle tier.
|
void |
handleWarning(JboWarning warn)
Catches a warning thrown by the middle tier.
|
public void handleException(java.lang.Exception ex,
boolean lastEntryInPiggyback)
JboExceptionHandlerhandleException in interface JboExceptionHandlerex - an exception.lastEntryInPiggyback - true if ex is the
last of a batch of exceptions and warnings generated by a transaction.public void handleWarning(JboWarning warn)
JboExceptionHandlerhandleWarning in interface JboExceptionHandlerwarn - a warning message.public void finishedProcessingPiggyback(java.lang.Exception[] exArray)
finishedProcessingPiggyback in interface JboExceptionHandlerpublic java.util.ArrayList getWarnings()
public void emptyWarnings()