Package com.jk.core.exceptions
Class JKXmlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jk.core.exceptions.JKException
com.jk.core.exceptions.JKXmlException
- All Implemented Interfaces:
Serializable
This class represents exception thrown to indicate errors related to XML
processing or parsing within the application.
This exception is a subclass of JKException
.
This class should be used to represent situations where data access there are issues with processing or parsing XML data.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a newJKXmlException
without any specified errors or causes.JKXmlException
(String message) This method constructs aJKXmlException
with a specific error message.JKXmlException
(String message, Throwable cause) This method constructs aJKXmlException
with a specific error message and a cause.JKXmlException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKXmlException
with a specific error message, cause, suppression behavior, and stack trace writability.JKXmlException
(Throwable cause) This method constructs aJKXmlException
with a cause. -
Method Summary
Methods inherited from class com.jk.core.exceptions.JKException
isLogged, setLogged
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JKXmlException
public JKXmlException()This method constructs a newJKXmlException
without any specified errors or causes.This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.
-
JKXmlException
public JKXmlException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKXmlException
with a specific error message, cause, suppression behavior, and stack trace writability.- Parameters:
message
- Specifies the error message explaining the XML-related issue.cause
- Specifies the cause of this exception.enableSuppression
- Specifies whether suppression is enabled or disabled.writableStackTrace
- Specifies whether the stack trace should be writable.
-
JKXmlException
This method constructs aJKXmlException
with a specific error message and a cause.- Parameters:
message
- Specifies the error message explaining the reason for the XML-related issue.cause
- Specifies the cause of this exception.
-
JKXmlException
This method constructs aJKXmlException
with a specific error message.- Parameters:
message
- Specifies the error message explaining the reason for the XML-related issue.
-
JKXmlException
This method constructs aJKXmlException
with a cause.- Parameters:
cause
- Specifies the cause of this exception.
-