Class MathIllegalArgumentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.math4.exception.MathRuntimeException
org.apache.commons.math4.exception.MathIllegalArgumentException
All Implemented Interfaces:
java.io.Serializable, ExceptionContextProvider
Direct Known Subclasses:
IllConditionedOperatorException, InsufficientDataException, MathIllegalNumberException, ModelSpecificationException, MultiDimensionMismatchException, NoBracketingException, NoDataException, NonPositiveDefiniteOperatorException, NonSelfAdjointOperatorException, NonSymmetricMatrixException, SingularMatrixException, SingularOperatorException

public class MathIllegalArgumentException
extends MathRuntimeException
Base class for all preconditions violation exceptions. In most cases, this class should not be instantiated directly: it should serve as a base class to create all the exceptions that have the semantics of the standard IllegalArgumentException.
Since:
2.2
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    MathIllegalArgumentException​(Localizable pattern, java.lang.Object... args)  
  • Method Summary

    Methods inherited from class org.apache.commons.math4.exception.MathRuntimeException

    getContext, getLocalizedMessage, getMessage

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MathIllegalArgumentException

      public MathIllegalArgumentException​(Localizable pattern, java.lang.Object... args)
      Parameters:
      pattern - Message pattern explaining the cause of the error.
      args - Arguments.