com.swiftmq.extension.bridge
Class ObjectFactoryException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.swiftmq.extension.bridge.ObjectFactoryException
All Implemented Interfaces:
java.io.Serializable

public class ObjectFactoryException
extends java.lang.Exception

Exception to throw if something goes wrong within the ObjectFactory's accessor methods.

Version:
1.0
Author:
IIT GmbH, Bremen/Germany
See Also:
ObjectFactory, Serialized Form

Constructor Summary
ObjectFactoryException(java.lang.String message, java.lang.Exception linkedException)
          Create a new ObjectFactoryException
 
Method Summary
 java.lang.Exception getLinkedException()
          Returns the linked excepion
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectFactoryException

public ObjectFactoryException(java.lang.String message,
                              java.lang.Exception linkedException)
Create a new ObjectFactoryException
Parameters:
message - exception message
linkedException - an optional exception that causes this exception
Method Detail

getLinkedException

public java.lang.Exception getLinkedException()
Returns the linked excepion
Returns:
linked exception