com.jmex.model
Class ModelFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jmex.model.ModelFormatException
All Implemented Interfaces:
java.io.Serializable

public class ModelFormatException
extends java.lang.Exception

Exception signifying an external model file format violation. This class is purposefully not an java.io.IOException, because these failures do not indicate any problem in the I/O system.

This class is purposefully checked, because any method reading or writing model files should either handle format problems, or explicitly acknowledge that they are incapable of doing so.

I'd prefer to have a format-related checked exception to subclass, instead of the generic Exception, but the J2SE doesn't provide one.

Author:
Blaine Simpson (blaine dot simpson at admc dot com)
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
ModelFormatException(java.lang.String arg0)
           
 
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
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ModelFormatException

public ModelFormatException(java.lang.String arg0)