BEA Systems, Inc.

com.beasys.commerce.util.dom
Class DOMExceptionImpl

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.w3c.dom.DOMException
                          |
                          +--com.beasys.commerce.util.dom.DOMExceptionImpl

public class DOMExceptionImpl
extends org.w3c.dom.DOMException

An implementation of a DOMException.

See Also:
Serialized Form

Fields inherited from class org.w3c.dom.DOMException
code, DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, INDEX_SIZE_ERR, INUSE_ATTRIBUTE_ERR, INVALID_CHARACTER_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, WRONG_DOCUMENT_ERR
 
Constructor Summary
DOMExceptionImpl(short code, java.lang.String mesg)
          Constructor.
 
Method Summary
static java.lang.String getCodeString(short code)
          Get a string from the exception code.
 java.lang.String toString()
          Get a string from this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DOMExceptionImpl

public DOMExceptionImpl(short code,
                        java.lang.String mesg)
Constructor.
Parameters:
code - the exception code.
mesg - the message.
Method Detail

toString

public java.lang.String toString()
Get a string from this exception.
Overrides:
toString in class java.lang.Throwable

getCodeString

public static java.lang.String getCodeString(short code)
Get a string from the exception code.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved