j3d.org Code

Class InvalidFormatException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.j3d.loaders.InvalidFormatException
All Implemented Interfaces:

public class InvalidFormatException
extends java.lang.RuntimeException

Exception for when the format of the input file does not match the expectations of the parser implementation.

This error would be thrown when there is absolutely no match between the incoming stream and that required by the parser. This is different to the UnsupportedFormatException which would be generated when the format is recognised as valid, but not handled due to version or encoding issues.

$Revision: 1.1 $
Justin Couch
See Also:
Serialized Form

Constructor Summary
          Create a blank exception with no message
InvalidFormatException(java.lang.String msg)
          Create an exception that contains the given 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


public InvalidFormatException()
Create a blank exception with no message


public InvalidFormatException(java.lang.String msg)
Create an exception that contains the given message.

msg - The message to associate with this exception

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org