Package org.apache.logging.log4j.util
Class InternalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.logging.log4j.util.InternalException
- All Implemented Interfaces:
Serializable
Exception thrown when an error occurs while accessing internal resources. This is generally used to
convert checked exceptions to runtime exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionInternalException
(String message) Construct an exception with a message.InternalException
(String message, Throwable cause) Construct an exception with a message and underlying cause.InternalException
(Throwable cause) Construct an exception with an underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalException
Construct an exception with a message.- Parameters:
message
- The reason for the exception
-
InternalException
Construct an exception with a message and underlying cause.- Parameters:
message
- The reason for the exceptioncause
- The underlying cause of the exception
-
InternalException
Construct an exception with an underlying cause.- Parameters:
cause
- The underlying cause of the exception
-