All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.client.deploy.DeploymentItemException Maven / Gradle / Ivy

Go to download

Complex event processing and event series analysis component

There is a newer version: 7.1.0
Show newest version
package com.espertech.esper.client.deploy;

/**
 * Inner exception to {@link DeploymentActionException} available on statement level.
 */
public class DeploymentItemException extends DeploymentException {

    private static final long serialVersionUID = 5496069128630634391L;
    
    private String expression;
    private RuntimeException inner;
    private int lineNumber;

    /**
     * Ctor.
     * @param message exception text
     * @param expression EPL
     * @param inner compile or start exception
     * @param lineNumber line number
     */
    public DeploymentItemException(String message, String expression, RuntimeException inner, int lineNumber) {
        super(message);
        this.expression = expression;
        this.inner = inner;
        this.lineNumber = lineNumber;
    }

    /**
     * Returns EPL expression.
     * @return expression
     */
    public String getExpression() {
        return expression;
    }

    /**
     * Returns EPL compile or start exception.
     * @return exception
     */
    public RuntimeException getInner() {
        return inner;
    }

    /**
     * Returns line number.
     * @return line number
     */
    public int getLineNumber()
    {
        return lineNumber;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy