javax.xml.datatype

Class DatatypeConfigurationException

public class DatatypeConfigurationException extends Exception

Indicates a serious configuration error.

TODO: support all constructors

Since: 1.5

Version: $Revision: 226210 $, $Date: 2005-06-03 14:54:52 -0400 (Fri, 03 Jun 2005) $

Author: Jeff Suttor

Constructor Summary
DatatypeConfigurationException()

Create a new DatatypeConfigurationException with no specified detail mesage and cause.

DatatypeConfigurationException(String message)

Create a new DatatypeConfigurationException with the specified detail message.

DatatypeConfigurationException(String message, Throwable cause)

Create a new DatatypeConfigurationException with the specified detail message and cause.

DatatypeConfigurationException(Throwable cause)

Create a new DatatypeConfigurationException with the specified cause.

Method Summary
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.

Constructor Detail

DatatypeConfigurationException

public DatatypeConfigurationException()

Create a new DatatypeConfigurationException with no specified detail mesage and cause.

DatatypeConfigurationException

public DatatypeConfigurationException(String message)

Create a new DatatypeConfigurationException with the specified detail message.

Parameters: message The detail message.

DatatypeConfigurationException

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.

DatatypeConfigurationException

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.

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.

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.

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.

Parameters: s The writer where the dump will be sent to.