net.sourceforge.openforecast.models
Class InsufficientDataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sourceforge.openforecast.models.InsufficientDataException
All Implemented Interfaces:
java.io.Serializable

public class InsufficientDataException
extends java.lang.Exception

Represents the case when there is insufficient data available to return a valid forecast value.

Since:
0.4
See Also:
Serialized Form

Constructor Summary
InsufficientDataException()
          Default constructor.
InsufficientDataException(java.lang.String reason)
          Constructs a new InsufficientDataException with the given reason.
 
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

InsufficientDataException

public InsufficientDataException()
Default constructor. If possible, use the one argument constructor and give more information about the lack of data.


InsufficientDataException

public InsufficientDataException(java.lang.String reason)
Constructs a new InsufficientDataException with the given reason. This is the preferred constructor.

Parameters:
reason - the reason for, or details about, the InsufficientDataException.


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