- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.logging.log4j.util.InternalException
-
- All Implemented Interfaces:
Serializable
public class InternalException extends RuntimeException
Exception thrown when an error occurs while accessing internal resources. This is generally used to convert checked exceptions to runtime exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalException(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 Detail
-
InternalException
public InternalException(String message)
Construct an exception with a message.- Parameters:
message
- The reason for the exception
-
InternalException
public InternalException(String message, Throwable cause)
Construct an exception with a message and underlying cause.- Parameters:
message
- The reason for the exceptioncause
- The underlying cause of the exception
-
InternalException
public InternalException(Throwable cause)
Construct an exception with an underlying cause.- Parameters:
cause
- The underlying cause of the exception
-
-