com.brunchboy.util.swing.relativelayout
Class XmlConstraintBuilder.ParseException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.brunchboy.util.swing.relativelayout.XmlConstraintBuilder.ParseException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- XmlConstraintBuilder
- public static class XmlConstraintBuilder.ParseException
- extends Exception
An exception subclass with which we'll wrap any exceptions thrown in
parsing the constraints specifications, to shield our clients from
details about the libraries we use, unless they want to know about them.
- See Also:
- Serialized Form
|
Field Summary |
protected Throwable |
cause
Keeps track of the underlying cause, if any. |
|
Method Summary |
Throwable |
getCause()
Returns the underlying cause of this exception, or null
if there was none. |
cause
protected Throwable cause
- Keeps track of the underlying cause, if any.
XmlConstraintBuilder.ParseException
public XmlConstraintBuilder.ParseException(String message,
Throwable cause)
- Record the message and cause of a parse exception.
- Parameters:
message - a brief description of the problem.cause - the underlying problem that led to this one, if any.
getCause
public Throwable getCause()
- Returns the underlying cause of this exception, or
null
if there was none.
- Overrides:
getCause in class Throwable
- Returns:
- the problem that led to this exception, if any.