Package shaperMain
Class ShaperErrorManager
java.lang.Object
shaperMain.ShaperErrorManager
public class ShaperErrorManager
extends java.lang.Object
The Class ShaperErrorManager.
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_COORDINATE
The Constant MAX_COORDINATE.static int
MIN_COORDINATE
The Constant MIN_COORDINATE. -
Constructor Summary
Constructors Constructor Description ShaperErrorManager()
-
Method Summary
Modifier and Type Method Description static void
checkMaxCoordinateValue(shaperGrammarParser parser)
Check max coordinate value.private static boolean
checkRectangularPerpendicular(shaperGrammarParser parser)
Check rectangular perpendicular.private static void
checkTriangleInequality(shaperGrammarParser parser)
Check triangle inequality.static boolean
shaperErrorMgmt(shaperGrammarParser parser)
Shaper error mgmt.
-
Field Details
-
MAX_COORDINATE
public static final int MAX_COORDINATEThe Constant MAX_COORDINATE.- See Also:
- Constant Field Values
-
MIN_COORDINATE
public static final int MIN_COORDINATEThe Constant MIN_COORDINATE.- See Also:
- Constant Field Values
-
-
Constructor Details
-
ShaperErrorManager
public ShaperErrorManager()
-
-
Method Details
-
shaperErrorMgmt
Shaper error mgmt.- Parameters:
parser
- the parser- Returns:
- true, if successful
-
checkTriangleInequality
Check triangle inequality.- Parameters:
parser
- the parser
-
checkMaxCoordinateValue
Check max coordinate value.- Parameters:
parser
- the parser
-
checkRectangularPerpendicular
Check rectangular perpendicular.- Parameters:
parser
- the parser- Returns:
- true, if successful
-