Venice 0.7beta

org.mov.quote
Class MissingQuoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by org.mov.quote.MissingQuoteException
All Implemented Interfaces:
java.io.Serializable

public class MissingQuoteException
extends java.lang.Throwable

This exception represents the error condition that occurs when the caller is trying to retrieve a quote that is not present. This exception would occur if a caller was trying to retrieve a quote for a public holiday for example.

See Also:
Serialized Form

Method Summary
static MissingQuoteException getInstance()
          Return the singleton instance of this exception.
 
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
 

Method Detail

getInstance

public static MissingQuoteException getInstance()
Return the singleton instance of this exception. There is only a single instance of this exception defined. The reason is that this exception is thrown around a lot so needs to be fast - and the stack trace is not important. See "Java Performance Tuning" for an explanation.


Venice 0.7beta