public abstract class CustomModLoadingErrorDisplayException extends EnhancedRuntimeException implements IFMLHandledException
EnhancedRuntimeException.WrappedPrintStream
Constructor and Description |
---|
CustomModLoadingErrorDisplayException() |
CustomModLoadingErrorDisplayException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
abstract void |
drawScreen(GuiErrorScreen errorScreen,
FontRenderer fontRenderer,
int mouseRelX,
int mouseRelY,
float tickTime)
Draw your error to the screen.
|
abstract void |
initGui(GuiErrorScreen errorScreen,
FontRenderer fontRenderer)
Called after the GUI is initialized by the parent code.
|
void |
printStackTrace(EnhancedRuntimeException.WrappedPrintStream s) |
getMessage, printStackTrace, printStackTrace
public CustomModLoadingErrorDisplayException()
public CustomModLoadingErrorDisplayException(java.lang.String message, java.lang.Throwable cause)
public abstract void initGui(GuiErrorScreen errorScreen, FontRenderer fontRenderer)
errorScreen
- The error screen we're paintingfontRenderer
- A font renderer for youpublic abstract void drawScreen(GuiErrorScreen errorScreen, FontRenderer fontRenderer, int mouseRelX, int mouseRelY, float tickTime)
errorScreen
- The error screen to draw tofontRenderer
- A font renderer for youmouseRelX
- Mouse XmouseRelY
- Mouse YtickTime
- tick timepublic void printStackTrace(EnhancedRuntimeException.WrappedPrintStream s)
printStackTrace
in class EnhancedRuntimeException