public final class LionEngineException extends RuntimeException
This class is Thread-Safe.
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_PRIVATE_CONSTRUCTOR
Error private constructor.
|
Constructor and Description |
---|
LionEngineException(Enum<?> type)
Create an exception related to an unknown enum type.
|
LionEngineException(Media media,
String... messages)
Create an exception related to a media and messages if has.
|
LionEngineException(String... messages)
Create an exception with messages if has.
|
LionEngineException(Throwable exception,
Media media,
String... messages)
Create an exception related to an existing exception and a media, plus additional messages if has.
|
LionEngineException(Throwable exception,
String... messages)
Create an exception related to another exception and messages if has.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
void |
printStackTrace(PrintStream stream) |
void |
printStackTrace(PrintWriter writer) |
static void |
setIgnoreEngineTrace(boolean ignore)
Set the engine trace ignore flag.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
public static final String ERROR_PRIVATE_CONSTRUCTOR
public LionEngineException(String... messages)
messages
- The exception message(s).public LionEngineException(Media media, String... messages)
messages
- The exception message(s).media
- The media error source.public LionEngineException(Enum<?> type)
type
- The unknown enum type.public LionEngineException(Throwable exception, String... messages)
exception
- The exception reference.messages
- The exception message(s).public LionEngineException(Throwable exception, Media media, String... messages)
exception
- The exception reference.media
- The media error source.messages
- The exception message(s).public static void setIgnoreEngineTrace(boolean ignore)
ignore
- true
to ignore in depth engine trace, false
to show full trace.public void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
public String getMessage()
getMessage
in class Throwable
Copyright © 2016 Byron 3D Games Studio. All rights reserved.