Class ProgrammingError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ojalgo.ProgrammingError
- All Implemented Interfaces:
Serializable, 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 Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)ProgrammingError(String message) protectedProgrammingError(String message, Throwable cause) (package private)ProgrammingError(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ProgrammingError
-
ProgrammingError
-
ProgrammingError
-
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
-