javax.xml.datatype
Class DatatypeConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.datatype.DatatypeConfigurationException
All Implemented Interfaces:
java.io.Serializable

public class DatatypeConfigurationException
extends java.lang.Exception

Indicates a serious configuration error.

TODO: support all constructors

Since:
1.5
Version:
$Revision: 446598 $, $Date: 2006-09-15 08:55:40 -0400 (Fri, 15 Sep 2006) $
Author:
Jeff Suttor
See Also:
Serialized Form

Constructor Summary
DatatypeConfigurationException()
          Create a new DatatypeConfigurationException with no specified detail mesage and cause.
DatatypeConfigurationException(java.lang.String message)
          Create a new DatatypeConfigurationException with the specified detail message.
DatatypeConfigurationException(java.lang.String message, java.lang.Throwable cause)
          Create a new DatatypeConfigurationException with the specified detail message and cause.
DatatypeConfigurationException(java.lang.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(java.io.PrintStream s)
          Print the the trace of methods from where the error originated.
 void printStackTrace(java.io.PrintWriter s)
          Print the the trace of methods from where the error originated.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatatypeConfigurationException

public DatatypeConfigurationException()

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


DatatypeConfigurationException

public DatatypeConfigurationException(java.lang.String message)

Create a new DatatypeConfigurationException with the specified detail message.

Parameters:
message - The detail message.

DatatypeConfigurationException

public DatatypeConfigurationException(java.lang.String message,
                                      java.lang.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(java.lang.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.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.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:
printStackTrace in class java.lang.Throwable
Parameters:
s - The stream where the dump will be sent to.

printStackTrace

public void printStackTrace(java.io.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:
printStackTrace in class java.lang.Throwable
Parameters:
s - The writer where the dump will be sent to.