Top Description Fields Constructors Methods
org.apache.commons.math3.exception

public Class MathParseException

extends MathIllegalStateException
implements ExceptionContextProvider
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.exception.util.ExceptionContextProvider
Imports
org.apache.commons.math3.exception.util.ExceptionContextProvider, .LocalizedFormats

Class to signal parse failures.
Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

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

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

Method Summary

Inherited from org.apache.commons.math3.exception.MathIllegalStateException:
getContextgetLocalizedMessagegetMessage

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.commons.math3.exception.MathIllegalStateException.serialVersionUID.

Serializable version Id.

Constructor Detail

MathParseExceptionback to summary
public MathParseException(String wrong, int position, Class<?> type)
Parameters
wrong:String

Bad string representation of the object.

position:int

Index, in the wrong string, that caused the parsing to fail.

type:Class<?>

Class of the object supposedly represented by the wrong string.

MathParseExceptionback to summary
public MathParseException(String wrong, int position)
Parameters
wrong:String

Bad string representation of the object.

position:int

Index, in the wrong string, that caused the parsing to fail.