Package net.minecraftforge.fml.util
Class EnhancedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.minecraftforge.fml.util.EnhancedRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LoaderException
RuntimeException that gives subclasses the simple opportunity to write extra data when printing the stack trace.
Mainly a helper class as printsStackTrace has multiple signatures.
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEnhancedRuntimeException
(String message) EnhancedRuntimeException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
protected abstract void
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EnhancedRuntimeException
public EnhancedRuntimeException() -
EnhancedRuntimeException
-
EnhancedRuntimeException
-
EnhancedRuntimeException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
-