javax.management.modelmbean
Class XMLParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.management.modelmbean.XMLParseException

public class XMLParseException

extends java.lang.Exception

This exception is 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.

Version:

1.5

Author:

Massimo Tarquini

See Also:

Serialized Form

 

Constructor Summary

XMLParseException()
    Default constructor
XMLParseException(java.lang.Exception e, java.lang.String s)
    Constructor taking a string and an exception
XMLParseException(java.lang.String s)
    Constructor taking a string
 

 

Method Summary

 java.lang.String getMessage()
    Override Throwable getMessage() Overrides: getMessage in class java.lang.Throwable
 java.lang.String toString()
    Override default toString() Overrides: toString in class java.lang.Throwable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
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(java.lang.String s)

Constructor taking a string

XMLParseException

public XMLParseException(java.lang.Exception e,
                         java.lang.String s)

Constructor taking a string and an exception

 

Method Detail

toString

public java.lang.String toString()

Override default toString() Overrides: toString in class java.lang.Throwable

Overrides:

toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()

Override Throwable getMessage() Overrides: getMessage in class java.lang.Throwable

Overrides:

getMessage in class java.lang.Throwable