org.opensha.commons.exceptions
Class ParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.opensha.commons.exceptions.ParameterException
All Implemented Interfaces:
Serializable

public class ParameterException
extends RuntimeException

Title: ParameterException

Description: Exception thrown when Parameter errors occur, such as setting a value with an invalid data type for that parameter

* Note: These exception subclasses add no new functionality. It's really the class name that is the important information. The name indicates what type of error it is and helps to pinpoint where the error could have occured in the code. It it much easier to see different exception types than have one catchall RuntimeException type.

Version:
1.0
Author:
Steven W. Rock
See Also:
Serialized Form

Constructor Summary
ParameterException()
          No-arg constructor
ParameterException(String string)
          Constructor that specifies an error message
 
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

ParameterException

public ParameterException()
No-arg constructor


ParameterException

public ParameterException(String string)
Constructor that specifies an error message