edu.columbia.surge
Class InvalidConstructorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--edu.columbia.surge.InvalidConstructorException

public class InvalidConstructorException
extends java.lang.Exception

This exception is thrown when users feed in an invalid constructor arguments when creating FDs.

See Also:
Serialized Form

Constructor Summary
InvalidConstructorException()
          Constructor which creates a default instance of the InvalidConstructorExcepion.
InvalidConstructorException(java.lang.String message)
          Constructor that creates an instance of InvalidConstructorException with the specified exception message.
 
Method Summary
 java.lang.String toString()
          Override the inherrited toString method.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidConstructorException

public InvalidConstructorException()
Constructor which creates a default instance of the InvalidConstructorExcepion.

InvalidConstructorException

public InvalidConstructorException(java.lang.String message)
Constructor that creates an instance of InvalidConstructorException with the specified exception message.
Parameters:
message - the user-defined message.
Method Detail

toString

public java.lang.String toString()
Override the inherrited toString method. It returns the default message together with the user-defined message(if any).
Returns:
the message gives when the exception is thrown.
Overrides:
toString in class java.lang.Throwable