net.sf.freecol.common.util
Class Xml.Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.freecol.common.util.Xml.Exception
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Xml

public static final class Xml.Exception
extends java.lang.RuntimeException

This class is defined so that exceptions thrown by methods on Xml may be filtered from other runtime exceptions such as NullPointerException if desired. In the majority of cases, an exception will mean that the game cannot proceed, which is why this is a runtime exception so that it percolates up to the Thread.run() method of the invoking thread or other controlling loop without the need for every other method on the way to declare "throws" clauses.

See Also:
Serialized Form

Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait