Class ExceptionLineItem
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.espertech.esper.common.client.util.ExceptionLineItem
- All Implemented Interfaces:
Serializable
Exception for line item.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExceptionLineItem
(String message, Throwable cause, String expression, int lineNumber) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the expressionint
Returns the line number starting at 1Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
expression
-
lineNumber
protected final int lineNumber
-
-
Constructor Details
-
ExceptionLineItem
Ctor.- Parameters:
message
- the messagecause
- the causeexpression
- the expressionlineNumber
- line number starting at 1
-
-
Method Details
-
getExpression
Returns the expression- Returns:
- expression
-
getLineNumber
public int getLineNumber()Returns the line number starting at 1- Returns:
- line number
-