edu.jhu.ece.iacl.jist.pipeline.parameter
Class InvalidParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.jhu.ece.iacl.jist.pipeline.parameter.InvalidParameterException
All Implemented Interfaces:
java.io.Serializable

public class InvalidParameterException
extends java.lang.Exception

Invalid Parameter Exception is thrown when a parameter value does not validate.

Author:
Blake Lucas
See Also:
Serialized Form

Constructor Summary
InvalidParameterException(PipePort param)
          Default constructor.
InvalidParameterException(PipePort param, java.lang.String extraMessage)
          Defautl constructor.
 
Method Summary
 java.lang.String getMessage()
           
 PipePort getParameter()
          Gets the parameter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidParameterException

public InvalidParameterException(PipePort param)
Default constructor.

Parameters:
param - invalid parameter

InvalidParameterException

public InvalidParameterException(PipePort param,
                                 java.lang.String extraMessage)
Defautl constructor.

Parameters:
param - invalid parameter
extraMessage - additional message
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getParameter

public PipePort getParameter()
Gets the parameter.

Returns:
the parameter