megamek.common.loaders
Class EntityLoadingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by megamek.common.loaders.EntityLoadingException
All Implemented Interfaces:
java.io.Serializable

public class EntityLoadingException
extends java.lang.Exception

This exception is thrown if a mech or other cannot be properly loaded from a file due to IO errors, file format errors, or whatever.

Version:
Author:
Ben
See Also:
Serialized Form

Constructor Summary
EntityLoadingException()
          Creates new EntityLoadingException without detail message.
EntityLoadingException(java.lang.String msg)
          Constructs an EntityLoadingException with the specified detail 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

EntityLoadingException

public EntityLoadingException()
Creates new EntityLoadingException without detail message.


EntityLoadingException

public EntityLoadingException(java.lang.String msg)
Constructs an EntityLoadingException with the specified detail message.

Parameters:
msg - the detail message.