net.sourceforge.openforecast.models
Class ModelNotInitializedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.openforecast.models.ModelNotInitializedException
All Implemented Interfaces:
Serializable

public class ModelNotInitializedException
extends RuntimeException

This exception should be thrown when an attempt is made to use a method in a model that has not been initialized by calling init.

Author:
Steven R. Gould
See Also:
ForecastingModel.init(net.sourceforge.openforecast.DataSet), Serialized Form

Constructor Summary
ModelNotInitializedException()
          Constructs a new ModelNotInitializedException with no detail message.
ModelNotInitializedException(String msg)
          Constructs a new ModelNotInitializedException with the specified detail 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

ModelNotInitializedException

public ModelNotInitializedException()
Constructs a new ModelNotInitializedException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable.initCause().


ModelNotInitializedException

public ModelNotInitializedException(String msg)
Constructs a new ModelNotInitializedException with the specified detail message.

Parameters:
msg - the detail message. The detail message is saved for later retrieval by the java.lang.Throwable.getMessage() method.


OpenForecast, Copyright (c) Steven Gould, 2002-2011