javax.xml.datatype

Class DatatypeConfigurationException


public class DatatypeConfigurationException
extends Exception

Indicates a serious configuration error. TODO: support all constructors
Version:
$Revision: 226210 $, $Date: 2005-06-03 20:54:52 +0200 (Fri, 03 Jun 2005) $
Author:
Jeff Suttor
Since:
1.5

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

void
printStackTrace()
Print the the trace of methods from where the error originated.
void
printStackTrace(PrintStream s)
Print the the trace of methods from where the error originated.
void
printStackTrace(PrintWriter s)
Print the the trace of methods from where the error originated.

Constructor Details

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 Details

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.