javax.management.modelmbean
Class XMLParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.management.modelmbean.XMLParseException
All Implemented Interfaces:
Serializable

public class XMLParseException
extends Exception

Thrown when an XML formatted string is being parsed into ModelMBean objects or when XML formatted strings are being created from ModelMBean objects. It is also used to wrapper exceptions from XML parsers that may be used.

See Also:
Serialized Form

 

Constructor Summary

XMLParseException()
          Default constructor .
XMLParseException(Exception e, String s)
          Constructor taking a string and an exception.
XMLParseException(String s)
          Constructor taking a string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLParseException

public XMLParseException()
Default constructor .


XMLParseException

public XMLParseException(String s)
Constructor taking a string.

Parameters:
s - the detail message.

XMLParseException

public XMLParseException(Exception e,
                         String s)
Constructor taking a string and an exception.

Parameters:
e - the nested exception.
s - the detail message.


Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.