Package megamek.common.loaders
Class EntityLoadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
megamek.common.loaders.EntityLoadingException
- All Implemented Interfaces:
Serializable
This exception is thrown if a mek or other cannot be properly loaded from a file due to IO errors, file format
errors, or whatever.
- Since:
- June 21, 2002, 11:05 AM
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newEntityLoadingExceptionwithout detail message.Constructs anEntityLoadingExceptionwith the specified detail message.EntityLoadingException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntityLoadingException
public EntityLoadingException()Creates newEntityLoadingExceptionwithout detail message. -
EntityLoadingException
Constructs anEntityLoadingExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
EntityLoadingException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-