Class MathParseException

All Implemented Interfaces:
Serializable, ExceptionContextProvider

public class MathParseException extends MathIllegalStateException implements ExceptionContextProvider
Class to signal parse failures.
Since:
2.2
See Also:
  • Constructor Details

    • MathParseException

      public MathParseException(String wrong, int position, Class<?> type)
      Parameters:
      wrong - Bad string representation of the object.
      position - Index, in the wrong string, that caused the parsing to fail.
      type - Class of the object supposedly represented by the wrong string.
    • MathParseException

      public MathParseException(String wrong, int position)
      Parameters:
      wrong - Bad string representation of the object.
      position - Index, in the wrong string, that caused the parsing to fail.