Example usage for org.apache.commons.math3.exception.util LocalizedFormats ILLEGAL_STATE

List of usage examples for org.apache.commons.math3.exception.util LocalizedFormats ILLEGAL_STATE

Introduction

In this page you can find the example usage for org.apache.commons.math3.exception.util LocalizedFormats ILLEGAL_STATE.

Prototype

LocalizedFormats ILLEGAL_STATE

To view the source code for org.apache.commons.math3.exception.util LocalizedFormats ILLEGAL_STATE.

Click Source Link

Usage

From source file:org.matheclipse.commons.parser.client.SyntaxError.java

/**
 * SyntaxError exception//ww  w. j a  va 2  s  .c o m
 *
 * @param startOffset
 * @param length
 */
public SyntaxError(final int startOffset, final int rowIndx, final int columnIndx, final String currentLine,
        final String error, final int length) {
    super(LocalizedFormats.ILLEGAL_STATE);
    fStartOffset = startOffset;
    fRowIndex = rowIndx;
    fColumnIndex = columnIndx;
    fCurrentLine = currentLine;
    fError = error;
    fLength = length;
}