AI-generated Key Takeaways
-
DatatypeConfigurationException
signals a critical configuration error in XML data type processing. -
It extends the
Exception
class and provides constructors for specifying detail messages and causes. -
The class includes methods for printing stack traces to help with debugging.
-
It inherits methods from
Throwable
for handling exceptions and stack trace information. -
DatatypeConfigurationException
is used to indicate issues during the setup of XML data types.
Indicates a serious configuration error.
Public Constructor Summary
DatatypeConfigurationException()
Create a new |
|
DatatypeConfigurationException(String message)
Create a new |
|
DatatypeConfigurationException(String message, Throwable cause)
Create a new |
|
DatatypeConfigurationException(Throwable cause)
Create a new |
Public Method Summary
void |
printStackTrace()
Print the the trace of methods from where the error
originated.
|
void | |
void |
Inherited Method Summary
Public Constructors
public DatatypeConfigurationException ()
Create a new DatatypeConfigurationException
with
no specified detail message and cause.
public DatatypeConfigurationException (String message)
Create a new DatatypeConfigurationException
with
the specified detail message.
Parameters
message | The detail message. |
---|
public DatatypeConfigurationException (String message, Throwable cause)
Create a new DatatypeConfigurationException
with
the specified detail message and cause.
Parameters
message | The detail message. |
---|---|
cause | The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.
|
public DatatypeConfigurationException (Throwable cause)
Create a new DatatypeConfigurationException
with
the specified cause.
Parameters
cause | The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.
|
---|
Public Methods
public void printStackTrace ()
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
public void printStackTrace (PrintWriter s)
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
Parameters
s | The writer where the dump will be sent to. |
---|
public void printStackTrace (PrintStream s)
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
Parameters
s | The stream where the dump will be sent to. |
---|