public class MathParseException extends MathIllegalStateException implements ExceptionContextProvider
Constructor and Description |
---|
MathParseException(String wrong,
int position) |
MathParseException(String wrong,
int position,
Class<?> type) |
getContext, getLocalizedMessage, getMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext
public MathParseException(String wrong, int position, Class<?> type)
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.public MathParseException(String wrong, int position)
wrong
- Bad string representation of the object.position
- Index, in the wrong
string, that caused the
parsing to fail.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.