Class NoBracketingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.exception.MathIllegalArgumentException
org.hipparchus.migration.exception.NoBracketingException
- All Implemented Interfaces:
Serializable
,LocalizedException
Deprecated.
Exception to be thrown when function values have the same sign at both
ends of an interval.
- See Also:
-
Constructor Summary
ConstructorDescriptionNoBracketingException
(double lo, double hi, double fLo, double fHi) Deprecated.Construct the exception.NoBracketingException
(Localizable specific, double lo, double hi, double fLo, double fHi, Object... args) Deprecated.Construct the exception with a specific context. -
Method Summary
Modifier and TypeMethodDescriptiondouble
getFHi()
Deprecated.Get the value at the higher end of the interval.double
getFLo()
Deprecated.Get the value at the lower end of the interval.double
getHi()
Deprecated.Get the higher end of the interval.double
getLo()
Deprecated.Get the lower end of the interval.Methods inherited from class org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoBracketingException
public NoBracketingException(double lo, double hi, double fLo, double fHi) Deprecated.Construct the exception.- Parameters:
lo
- Lower end of the interval.hi
- Higher end of the interval.fLo
- Value at lower end of the interval.fHi
- Value at higher end of the interval.
-
NoBracketingException
public NoBracketingException(Localizable specific, double lo, double hi, double fLo, double fHi, Object... args) Deprecated.Construct the exception with a specific context.- Parameters:
specific
- Contextual information on what caused the exception.lo
- Lower end of the interval.hi
- Higher end of the interval.fLo
- Value at lower end of the interval.fHi
- Value at higher end of the interval.args
- Additional arguments.
-
-
Method Details
-
getLo
public double getLo()Deprecated.Get the lower end of the interval.- Returns:
- the lower end.
-
getHi
public double getHi()Deprecated.Get the higher end of the interval.- Returns:
- the higher end.
-
getFLo
public double getFLo()Deprecated.Get the value at the lower end of the interval.- Returns:
- the value at the lower end.
-
getFHi
public double getFHi()Deprecated.Get the value at the higher end of the interval.- Returns:
- the value at the higher end.
-
MathIllegalArgumentException