org.apache.commons.math3.exception
public class MathParseException extends MathIllegalStateException implements ExceptionContextProvider
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serializable version Id.
|
Constructor and Description |
---|
MathParseException(java.lang.String wrong,
int position) |
MathParseException(java.lang.String wrong,
int position,
java.lang.Class<?> type) |
getContext, getLocalizedMessage, getMessage
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext
private static final long serialVersionUID
public MathParseException(java.lang.String wrong, int position, java.lang.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(java.lang.String wrong, int position)
wrong
- Bad string representation of the object.position
- Index, in the wrong
string, that caused the
parsing to fail.Copyright (c) 2003-2013 Apache Software Foundation