Main Page Packages Class Hierarchy Compound List File List Compound Members

# DOMTestLoadException.java

Go to the documentation of this file.

    00001 /*
    00002  * Copyright (c) 2001 World Wide Web Consortium,
    00003  * (Massachusetts Institute of Technology, Institut National de
    00004  * Recherche en Informatique et en Automatique, Keio University). All
    00005  * Rights Reserved. This program is distributed under the W3C's Software
    00006  * Intellectual Property License. This program is distributed in the
    00007  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
    00008  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00009  * PURPOSE.
    00010  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
    00011  */
    00012
    00013
    00014  package org.w3c.domts;
    00015  import java.lang.reflect.*;
    00016  import javax.xml.parsers.*;
    00017
    00024  public class DOMTestLoadException extends Exception {
    00025   private final Throwable innerException;
    00026
    00031   public DOMTestLoadException(Throwable innerException) {
    00032     this.innerException = innerException;
    00033   }
    00034
    00035   public String toString() {
    00036     if(innerException != null) {
    00037       return innerException.toString();
    00038     }
    00039     return super.toString();
    00040   }
    00041 }