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:
java.io.Serializable
public class InternalException extends java.lang.RuntimeExceptionException thrown when an error occurs while accessing internal resources. This is generally used to convert checked exceptions to runtime exceptions.- Since:
- 2.22.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description InternalException(java.lang.String message)Construct an exception with a message.InternalException(java.lang.String message, java.lang.Throwable cause)Construct an exception with a message and underlying cause.InternalException(java.lang.Throwable cause)Construct an exception with an underlying cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalException
public InternalException(java.lang.String message)
Construct an exception with a message.- Parameters:
message- The reason for the exception
-
InternalException
public InternalException(java.lang.String message, java.lang.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(java.lang.Throwable cause)
Construct an exception with an underlying cause.- Parameters:
cause- The underlying cause of the exception
-
-