beautypg.com

Eventexception class, Messageexception class, Serviceexception class – HP NonStop G-Series User Manual

Page 139

background image

getObject

The getObject method gets the object that throws this exception.

public Object getObject();

Usage In some situations, this method returns a "null" object.

EventException Class

java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----bea.jolt.JoltException
|
+----bea.jolt.EventException

This exception is thrown when the user encounters any error during the event subscription.

public class EventException extends JoltException

MessageException Class

java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----bea.jolt.MessageException

This exception is thrown when there is an error in parsing the internal message object.

public class MessageException extends RuntimeException

ServiceException Class

java.lang.Object
|
+----java.lang.Throwable
|