Package org.ojalgo

Class ProgrammingError

All Implemented Interfaces:
Serializable, EffectiveThrowable

public class ProgrammingError extends RuntimeException implements EffectiveThrowable
Incorrect use of the API. The code needs to be changed. Typically execution can't continue. Is never declared to be thrown, and should not be caught.
See Also:
  • Field Details

  • Constructor Details

    • ProgrammingError

      public ProgrammingError(String message)
    • ProgrammingError

      public ProgrammingError(Throwable cause)
    • ProgrammingError

      ProgrammingError()
    • ProgrammingError

      ProgrammingError(String message, Throwable cause)
    • ProgrammingError

      ProgrammingError(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • Method Details

    • throwForIllegalInvocation

      public static void throwForIllegalInvocation()
      For hidden, not-to-be-used, constructors and methods.
    • throwForMultiplicationNotPossible

      public static void throwForMultiplicationNotPossible()
    • throwForTryingToModifyAnImmutableObject

      public static void throwForTryingToModifyAnImmutableObject()
    • throwForUnsupportedOptionalOperation

      public static void throwForUnsupportedOptionalOperation()
    • throwIfMultiplicationNotPossible

      public static void throwIfMultiplicationNotPossible(Access2D<?> left, Access2D<?> right)
    • throwIfNotEqualColumnDimensions

      public static void throwIfNotEqualColumnDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2)
    • throwIfNotEqualDimensions

      public static void throwIfNotEqualDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2)
    • throwIfNotEqualRowDimensions

      public static void throwIfNotEqualRowDimensions(Structure2D mtrx1, Structure1D mtrx2)
    • throwIfNotSquare

      public static void throwIfNotSquare(Structure2D mtrx)
    • throwIfNull

      public static void throwIfNull(Object obj)
    • throwIfNull

      public static void throwIfNull(Object... objs)
    • throwIfNull

      public static void throwIfNull(Object obj1, Object obj2)
    • throwIfNull

      public static void throwIfNull(Object obj1, Object obj2, Object obj3)
    • throwWithMessage

      public static void throwWithMessage(String messagePattern, Object... args)
    • toString

      public String toString()
      Overrides:
      toString in class Throwable