javax.management.modelmbean
Class XMLParseExceptionjava.lang.Objec | +--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 constructorjava.lang.Exception, java.lang.String)">XMLParseException(java.lang.Exception e, java.lang.String s)
Constructor taking a string and an exceptionjava.lang.String)">XMLParseException(java.lang.String s)
Constructor taking a string
Method Summary
java.lang.String getMessage()
Override Throwable getMessage() Overrides: getMessage in class java.lang.Throwablejava.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
publicXMLParseException
()
- Default constructor
java.lang.String)">
XMLParseException
publicXMLParseException
(java.lang.String s)
- Constructor taking a string
java.lang.Exception, java.lang.String)">
XMLParseException
publicXMLParseException
(java.lang.Exception e, java.lang.String s)
- Constructor taking a string and an exception
Method Detail
toString
public java.lang.StringtoString
()
- Override default toString() Overrides: toString in class java.lang.Throwable
Overrides:
- toString in class java.lang.Throwable
getMessage
public java.lang.StringgetMessage
()
- Override Throwable getMessage() Overrides: getMessage in class java.lang.Throwable
Overrides:
- getMessage in class java.lang.Throwable