Skip navigation links

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

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


com.bea.wlevs.ede.api
Class EventRejectedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.bea.wlevs.ede.api.EventProcessingException
                          |
                          +--com.bea.wlevs.ede.api.EventRejectedException

public class EventRejectedException
extends EventProcessingException
implements java.io.Serializable

An EventRejectedException can be raised by the application developer to indicate that an EPN node is rejecting events.

An EventRejectedException differs from its parent EventProcessingException in so far that the rejection is a explicit decision by the application, rather than necessarily a runtime exception while processing the event.

The handler of an EventRejectedException may opt on treating this exception differently than of a runtime event processing exception.

See Also:
Serialized Form

Inner Class Summary
static class EventRejectedException.Reason
          Reason for application to reject the event(s)

 

Constructor Summary
EventRejectedException(EventRejectedException.Reason reason, java.util.List rejected, java.lang.String desc)
          Constructor for EventRejectedException
EventRejectedException(EventRejectedException.Reason reason, java.util.List rejected, java.lang.String desc, java.lang.String origin)
          Constructor for EventRejectedException

 

Method Summary
 EventRejectedException.Reason getReason()
          Retrieves the reason the EPN node rejected the event(s).
 java.util.List getRejectedEvents()
          Retrieves the collection of rejected events.

 

Methods inherited from class com.bea.wlevs.ede.api.EventProcessingException
getDeleteEvents, getInsertEvents, getNextException, getOrigin, getUpdateEvents, iterator, setNextException

 

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

EventRejectedException

public EventRejectedException(EventRejectedException.Reason reason,
                              java.util.List rejected,
                              java.lang.String desc)
Constructor for EventRejectedException
Parameters:
reason - Reason for rejection
rejected - Rejected events
desc - Description

EventRejectedException

public EventRejectedException(EventRejectedException.Reason reason,
                              java.util.List rejected,
                              java.lang.String desc,
                              java.lang.String origin)
Constructor for EventRejectedException
Parameters:
reason - Reason for rejection
rejected - Rejected events
desc - Description
origin - Identity of the EPN node rejecting the events

Method Detail

getRejectedEvents

public java.util.List getRejectedEvents()
Retrieves the collection of rejected events.
Returns:
Collection of rejected events.

getReason

public EventRejectedException.Reason getReason()
Retrieves the reason the EPN node rejected the event(s).
Returns:
Reason the events were rejected.

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