j3d.org Code

org.j3d.loaders
Class InvalidFormatException

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

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.

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

Constructor Summary
InvalidFormatException()
          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

InvalidFormatException

public InvalidFormatException()
Create a blank exception with no message


InvalidFormatException

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

Parameters:
msg - The message to associate with this exception

j3d.org Code

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