com.hp.hpl.sparta
Class DOMException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.hp.hpl.sparta.DOMException
All Implemented Interfaces:
java.io.Serializable

public class DOMException
extends java.lang.Exception

Thrown when problem constructing the DOM.

Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Version:
$Date: 2002/08/19 05:04:01 $ $Revision: 1.1.1.1 $
Author:
Eamonn O'Brien-Strain
See Also:
GNU Lesser General Public License, DOMException, Serialized Form

Field Summary
 short code
           
static short DOMSTRING_SIZE_ERR
           
static short HIERARCHY_REQUEST_ERR
           
static short NOT_FOUND_ERR
           
 
Constructor Summary
DOMException(short code, java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

public short code

DOMSTRING_SIZE_ERR

public static final short DOMSTRING_SIZE_ERR

HIERARCHY_REQUEST_ERR

public static final short HIERARCHY_REQUEST_ERR

NOT_FOUND_ERR

public static final short NOT_FOUND_ERR
Constructor Detail

DOMException

public DOMException(short code,
                    java.lang.String message)