Joda System API

org.joda.property.xml
Class XMLException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.joda.property.xml.XMLException
All Implemented Interfaces:
java.io.Serializable

public class XMLException
extends java.lang.RuntimeException

Exception thrown during XML processing.

Author:
Stephen Colebourne
See Also:
Serialized Form

Constructor Summary
XMLException(java.lang.Object errSource, java.lang.Object value)
          Constructor
XMLException(java.lang.Object errSource, java.lang.Object value, java.lang.String baseMessage)
          Constructor
 
Method Summary
 java.lang.Object getRejectedValue()
          Get the value which was rejected
 java.lang.Object getSource()
          Get the object that generated the exception
 
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

XMLException

public XMLException(java.lang.Object errSource,
                    java.lang.Object value,
                    java.lang.String baseMessage)
Constructor

Parameters:
errSource - the object that generated the exception
value - the value that could not be converted

XMLException

public XMLException(java.lang.Object errSource,
                    java.lang.Object value)
Constructor

Parameters:
errSource - the object that generated the exception
value - the value that could not be converted
Method Detail

getSource

public java.lang.Object getSource()
Get the object that generated the exception

Returns:
the error source

getRejectedValue

public java.lang.Object getRejectedValue()
Get the value which was rejected

Returns:
the value

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.