Package org.apache.turbine.util
Class TurbineRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.turbine.util.TurbineRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InstantiationException
public class TurbineRuntimeException extends RuntimeException
This is a base class of runtime exeptions thrown by Turbine. This class represents a non-checked type exception (seeRuntimeException
). It has the nested stack trace functionality found in theTurbineException
class.- Author:
- Rafal Krzewski, Daniel Rall, Quinton McCombs
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TurbineRuntimeException()
Constructs a newTurbineRuntimeException
without specified detail message.TurbineRuntimeException(String msg)
Constructs a newTurbineRuntimeException
with specified detail message.TurbineRuntimeException(String msg, Throwable nested)
Constructs a newTurbineRuntimeException
with specified detail message and nestedThrowable
.TurbineRuntimeException(Throwable nested)
Constructs a newTurbineRuntimeException
with specified nestedThrowable
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TurbineRuntimeException
public TurbineRuntimeException()
Constructs a newTurbineRuntimeException
without specified detail message.
-
TurbineRuntimeException
public TurbineRuntimeException(String msg)
Constructs a newTurbineRuntimeException
with specified detail message.- Parameters:
msg
- the error message.
-
TurbineRuntimeException
public TurbineRuntimeException(Throwable nested)
Constructs a newTurbineRuntimeException
with specified nestedThrowable
.- Parameters:
nested
- the exception or error that caused this exception to be thrown.
-
TurbineRuntimeException
public TurbineRuntimeException(String msg, Throwable nested)
Constructs a newTurbineRuntimeException
with specified detail message and nestedThrowable
.- Parameters:
msg
- the error message.nested
- the exception or error that caused this exception to be thrown.
-
-