Package nl.rrd.wool.exception
Class WoolNodeParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- nl.rrd.wool.exception.ParseException
-
- nl.rrd.wool.exception.WoolNodeParseException
-
- All Implemented Interfaces:
Serializable
public class WoolNodeParseException extends ParseException
This exception indicates a parse error within a node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WoolNodeParseException(String message, String nodeTitle, LineNumberParseException cause)Constructs a new exception in the specified node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LineNumberParseExceptiongetLineNumberParseException()Returns the parse error in the node.StringgetNodeTitle()Returns the node title.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WoolNodeParseException
public WoolNodeParseException(String message, String nodeTitle, LineNumberParseException cause)
Constructs a new exception in the specified node. If the node title is unknown, it can be set to null.- Parameters:
message- the messagenodeTitle- the node title or nullcause- the parse error
-
-
Method Detail
-
getNodeTitle
public String getNodeTitle()
Returns the node title. If the title is unknown, this method returns null.- Returns:
- the node title or null
-
getLineNumberParseException
public LineNumberParseException getLineNumberParseException()
Returns the parse error in the node.- Returns:
- the parse error in the node
-
-