exceptions
Class ParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by exceptions.ParameterException
All Implemented Interfaces:
java.io.Serializable

public class ParameterException
extends java.lang.Exception

Parameter Exception

This exception is thrown when an invalid parameter is provided to any methods of Cismo.

Copyright(c) 2005 Université Laval, LSFM research group.

Version:
1.0
Author:
Frédérick Lemay
See Also:
Serialized Form

Constructor Summary
ParameterException(java.lang.String message)
          Default constructor ... use the provided error message.
 
Method Summary
 java.lang.String getMessage()
          Access the stored error message.
 
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

ParameterException

public ParameterException(java.lang.String message)
Default constructor ... use the provided error message.

Parameters:
message - a message describing the error
Method Detail

getMessage

public java.lang.String getMessage()
Access the stored error message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the stored error message