de.matthiasmann.twl.theme
Class ThemeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by de.matthiasmann.twl.theme.ThemeException
All Implemented Interfaces:
java.io.Serializable

public class ThemeException
extends java.io.IOException

This exception is thrown when a theme file could not be parsed.

See Also:
Serialized Form

Nested Class Summary
static class ThemeException.Source
          Describes a position in an XML file
 
Field Summary
protected  ThemeException.Source source
           
 
Constructor Summary
ThemeException(java.lang.String msg, java.net.URL url, int lineNumber, int columnNumber, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getMessage()
           
 ThemeException.Source getSource()
          Returns the source URL of the XML file and the line/column number where the exception originated.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected final ThemeException.Source source
Constructor Detail

ThemeException

public ThemeException(java.lang.String msg,
                      java.net.URL url,
                      int lineNumber,
                      int columnNumber,
                      java.lang.Throwable cause)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getSource

public ThemeException.Source getSource()
Returns the source URL of the XML file and the line/column number where the exception originated.

Returns:
the source