PDF Clown
0.0.8

it.stefanochizzolini.clown.tokens
Class FileFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.stefanochizzolini.clown.tokens.FileFormatException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FontFileFormatException

public class FileFormatException
extends Exception

Exception thrown in case of bad file format detection.

Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)
See Also:
Serialized Form

Constructor Summary
FileFormatException(String message, long position)
           
FileFormatException(String message, Throwable cause, long position)
           
 
Method Summary
 long getPosition()
          Gets the file pointer position before which the exception has occurred.
 
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

FileFormatException

public FileFormatException(String message,
                           long position)

FileFormatException

public FileFormatException(String message,
                           Throwable cause,
                           long position)
Method Detail

getPosition

public long getPosition()
Gets the file pointer position before which the exception has occurred.


PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.