Package megamek.common.loaders
Class EntitySavingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
megamek.common.loaders.EntitySavingException
- All Implemented Interfaces:
Serializable
This exception is thrown if a mek or other cannot be properly saved from a file due to IO errors, file format errors,
missing fields, or whatever.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates newEntityLoadingExceptionwithout detail message.Constructs anEntityLoadingExceptionwith the specified detail message.EntitySavingException(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
-
EntitySavingException
public EntitySavingException()Creates newEntityLoadingExceptionwithout detail message. -
EntitySavingException
Constructs anEntityLoadingExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
EntitySavingException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-