java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ojalgo.ProgrammingError
- All Implemented Interfaces:
Serializable
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.
- Author:
- apete
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionProgrammingError(String message) protectedProgrammingError(String message, Throwable cause) ProgrammingError(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidFor hidden, not-to-be-used, constructors and methods.static voidstatic voidstatic voidstatic voidthrowIfMultiplicationNotPossible(Access2D<?> left, Access2D<?> right) static voidthrowIfNotEqualColumnDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2) static voidthrowIfNotEqualDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2) static voidthrowIfNotEqualRowDimensions(Structure2D mtrx1, Structure1D mtrx2) static voidthrowIfNotSquare(Structure2D mtrx) static voidthrowIfNull(Object obj) static voidthrowIfNull(Object... objs) static voidthrowIfNull(Object obj1, Object obj2) static voidthrowIfNull(Object obj1, Object obj2, Object obj3) static voidthrowWithMessage(String messagePattern, Object... args) toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ProgrammingError
-
ProgrammingError
-
ProgrammingError
-
-
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
-
throwIfNotEqualColumnDimensions
-
throwIfNotEqualDimensions
-
throwIfNotEqualRowDimensions
-
throwIfNotSquare
-
throwIfNull
-
throwIfNull
-
throwIfNull
-
throwIfNull
-
throwWithMessage
-
toString
-