com.lutris.util
Class FatalExceptionError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Error
|
+--com.lutris.util.FatalExceptionError
- public class FatalExceptionError
- extends java.lang.Error
- See Also:
- Serialized Form
Constructor Summary |
FatalExceptionError(java.lang.Exception except)
Constucts with an existing exception or error. |
Method Summary |
java.lang.Exception |
getException()
Get the exception that occured. |
java.lang.String |
getLocalizedMessage()
Get the localized message of the encapsulate exception. |
java.lang.String |
getMessage()
Get the detail message of the encapsulate exception. |
void |
printStackTrace()
Call the encapsulated object printStackTrack method with output to the
standard error string. |
void |
printStackTrace(java.io.PrintStream str)
Call the encapsulated object printStackTrack method with output to a
specified stream. |
void |
printStackTrace(java.io.PrintWriter pw)
Call the encapsulated object printStackTrack method with output to a
specified stream print writer. |
java.lang.String |
toString()
Returns a string representation that includes this object and the
encapsulated object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
FatalExceptionError
public FatalExceptionError(java.lang.Exception except)
- Constucts with an existing exception or error.
- Parameters:
except
- - Exception to encapsulate.
getException
public java.lang.Exception getException()
- Get the exception that occured.
- Returns:
- A reference to the exception.
getMessage
public java.lang.String getMessage()
- Get the detail message of the encapsulate exception.
- Overrides:
- getMessage in class java.lang.Throwable
- Returns:
- The detail message
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Get the localized message of the encapsulate exception.
- Overrides:
- getLocalizedMessage in class java.lang.Throwable
- Returns:
- The detail message
toString
public java.lang.String toString()
- Returns a string representation that includes this object and the
encapsulated object.
- Overrides:
- toString in class java.lang.Throwable
- Returns:
- The string representation.
printStackTrace
public void printStackTrace()
- Call the encapsulated object printStackTrack method with output to the
standard error string.
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream str)
- Call the encapsulated object printStackTrack method with output to a
specified stream.
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
- Call the encapsulated object printStackTrack method with output to a
specified stream print writer.
- Overrides:
- printStackTrace in class java.lang.Throwable