Package javax.xml.datatype
Class DatatypeConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.datatype.DatatypeConfigurationException
-
- All Implemented Interfaces:
Serializable
public class DatatypeConfigurationException extends Exception
Indicates a serious configuration error.
- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatatypeConfigurationException()Create a newDatatypeConfigurationExceptionwith no specified detail message and cause.DatatypeConfigurationException(String message)Create a newDatatypeConfigurationExceptionwith the specified detail message.DatatypeConfigurationException(String message, Throwable cause)Create a newDatatypeConfigurationExceptionwith the specified detail message and cause.DatatypeConfigurationException(Throwable cause)Create a newDatatypeConfigurationExceptionwith the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintStackTrace()Print the the trace of methods from where the error originated.voidprintStackTrace(PrintStream s)Print the the trace of methods from where the error originated.voidprintStackTrace(PrintWriter s)Print the the trace of methods from where the error originated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DatatypeConfigurationException
public DatatypeConfigurationException()
Create a new
DatatypeConfigurationExceptionwith no specified detail message and cause.
-
DatatypeConfigurationException
public DatatypeConfigurationException(String message)
Create a new
DatatypeConfigurationExceptionwith the specified detail message.- Parameters:
message- The detail message.
-
DatatypeConfigurationException
public DatatypeConfigurationException(String message, Throwable cause)
Create a new
DatatypeConfigurationExceptionwith the specified detail message and cause.- Parameters:
message- The detail message.cause- The cause. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
DatatypeConfigurationException
public DatatypeConfigurationException(Throwable cause)
Create a new
DatatypeConfigurationExceptionwith the specified cause.- Parameters:
cause- The cause. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
-
Method Detail
-
printStackTrace
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.- Overrides:
printStackTracein classThrowable
-
printStackTrace
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.- Overrides:
printStackTracein classThrowable- Parameters:
s- The stream where the dump will be sent to.
-
printStackTrace
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.- Overrides:
printStackTracein classThrowable- Parameters:
s- The writer where the dump will be sent to.
-
-