Package com.structurizr.dsl
Class StructurizrDslParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.structurizr.dsl.StructurizrDslParserException
- All Implemented Interfaces:
Serializable
Throw when there are parsing errors.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLine()
Gets the line associated with the parsing exception.int
Gets the line number associated with the parsing exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getLineNumber
public int getLineNumber()Gets the line number associated with the parsing exception.- Returns:
- the line number, an integer
-
getLine
Gets the line associated with the parsing exception.- Returns:
- the line, as a String
-