com.mindtree.techworks.insight.receiver
Class ReceiverInitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.mindtree.techworks.insight.receiver.ReceiverInitializationException
All Implemented Interfaces:
java.io.Serializable

public class ReceiverInitializationException
extends java.lang.Exception

Thrown when an any Receiver is not able to initilize itself. All implementations of AbstractReceiver should throw instance of this class if they are not able to initialize themself using the initialize method.

See Also:
Serialized Form

Constructor Summary
ReceiverInitializationException()
          Constructs a ReceiverInitializationException with no detail message.
ReceiverInitializationException(java.lang.String s)
          Constructs a NullPointerException with the specified detail message.
ReceiverInitializationException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new ReceiverInitializationException with the specified detail message and cause.
ReceiverInitializationException(java.lang.Throwable cause)
          Constructs a new ReceiverInitializationException with the specified cause.
 
Method Summary
 
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

ReceiverInitializationException

public ReceiverInitializationException()
Constructs a ReceiverInitializationException with no detail message.


ReceiverInitializationException

public ReceiverInitializationException(java.lang.String s)
Constructs a NullPointerException with the specified detail message.

Parameters:
s - the detail message.

ReceiverInitializationException

public ReceiverInitializationException(java.lang.Throwable cause)
Constructs a new ReceiverInitializationException with the specified cause.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ReceiverInitializationException

public ReceiverInitializationException(java.lang.String message,
                                       java.lang.Throwable cause)
Constructs a new ReceiverInitializationException with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.