simple.http.serve
Class FormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by simple.http.serve.FormatException
All Implemented Interfaces:
java.io.Serializable

public class FormatException
extends java.lang.Exception

The FormatException is thrown is there was a problem aquiring contents from a Format object. The exception is thrown if the Format instance does not implement support for contents for the requested resource or if there was a problem generating the contents.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
FormatException()
          This empty constructor is used if there is no explanation of the format exception required.
FormatException(java.lang.String desc)
          This constructor is used if there is a description of the event that caused the exception required.
 
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

FormatException

public FormatException()
This empty constructor is used if there is no explanation of the format exception required.


FormatException

public FormatException(java.lang.String desc)
This constructor is used if there is a description of the event that caused the exception required.

Parameters:
desc - this is a description of the exception