Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Event Processing
11g Release 1 (11.1.1.7)

E14303-11
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.ede.api
Class EventProcessingException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.bea.wlevs.ede.api.EventProcessingException
Direct Known Subclasses:
CQLExecutionException, EventPropertyException, EventRejectedException

public class EventProcessingException
extends java.lang.RuntimeException
implements java.lang.Iterable

Root runtime exception raised when an error occurs when processing events.

Event processing exceptions have two dimensions: causality and chaining. Causality details the cause of a particular exception.
In addition, an event processing exception may be chained to other exceptions. This could occur, for example, when a channel has multiple sinks, and they individually raise exceptions.

Event processing exceptions also carry the context when fault happened, such as the events being processed, and the origin of the fault. The origin is specified as the stage identity of the stage that threw the fault.

See Also:
Serialized Form

Constructor Summary
EventProcessingException()
          Constructor for event processing exception
EventProcessingException(java.lang.String message)
          Constructor for event processing exception
EventProcessingException(java.lang.String message, java.lang.String origin, java.util.Collection insertEvents, java.util.Collection deleteEvents, java.util.Collection updateEvents, java.lang.Throwable cause)
          Constructor for event processing exception
EventProcessingException(java.lang.String message, java.lang.Throwable cause)
          Constructor for event processing exception
EventProcessingException(java.lang.Throwable cause)
          Constructor for event processing exception

 

Method Summary
 java.util.Collection getDeleteEvents()
          Returns the delete events that caused the event processing exception, or null if not applicable.
 java.util.Collection getInsertEvents()
          Returns the insert events that caused the event processing exception, or null if not applicable.
 EventProcessingException getNextException()
          Returns the next event processing exception on this chain of exceptions.
 java.lang.String getOrigin()
          Returns the identity of the EPN stage where the exception was first originated.
 java.util.Collection getUpdateEvents()
          Returns the update events that caused the event processing exception, or null if not applicable.
 java.util.Iterator iterator()
           
 void setNextException(EventProcessingException ex)
          Sets next exception of this chain of event processing exceptions.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

EventProcessingException

public EventProcessingException()
Constructor for event processing exception

EventProcessingException

public EventProcessingException(java.lang.String message)
Constructor for event processing exception
Parameters:
message -  

EventProcessingException

public EventProcessingException(java.lang.String message,
                                java.lang.Throwable cause)
Constructor for event processing exception
Parameters:
message -  
cause -  

EventProcessingException

public EventProcessingException(java.lang.Throwable cause)
Constructor for event processing exception
Parameters:
cause -  

EventProcessingException

public EventProcessingException(java.lang.String message,
                                java.lang.String origin,
                                java.util.Collection insertEvents,
                                java.util.Collection deleteEvents,
                                java.util.Collection updateEvents,
                                java.lang.Throwable cause)
Constructor for event processing exception
Parameters:
message - exception message
origin - stage originator of exception
insertEvents - culprit insert events or null if not applicable
deleteEvents - culprit delete events or null if not applicable
updateEvents - culprit update events or null if not applicable
cause - underlying cause exception or null if not applicable

Method Detail

getInsertEvents

public java.util.Collection getInsertEvents()
Returns the insert events that caused the event processing exception, or null if not applicable.
Returns:
insert events or null

getDeleteEvents

public java.util.Collection getDeleteEvents()
Returns the delete events that caused the event processing exception, or null if not applicable.
Returns:
delete events or null

getUpdateEvents

public java.util.Collection getUpdateEvents()
Returns the update events that caused the event processing exception, or null if not applicable.
Returns:
update events or null

getOrigin

public java.lang.String getOrigin()
Returns the identity of the EPN stage where the exception was first originated.
Returns:
EPN stage identity

getNextException

public EventProcessingException getNextException()
Returns the next event processing exception on this chain of exceptions.
Returns:
next exception in chain of event processing exceptions

setNextException

public void setNextException(EventProcessingException ex)
Sets next exception of this chain of event processing exceptions.
Parameters:
next - event procesing exception

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2013 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD