Package org.ojalgo
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
ConstructorsConstructorDescriptionProgrammingError
(String message) ProgrammingError
(String message, Throwable cause) ProgrammingError
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) ProgrammingError
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
For hidden, not-to-be-used, constructors and methods.static void
static void
static void
static void
throwIfMultiplicationNotPossible
(Access2D<?> left, Access2D<?> right) static void
throwIfNotEqualColumnDimensions
(Access2D<?> mtrx1, Access2D<?> mtrx2) static void
throwIfNotEqualDimensions
(Access2D<?> mtrx1, Access2D<?> mtrx2) static void
throwIfNotEqualRowDimensions
(Structure2D mtrx1, Structure1D mtrx2) static void
throwIfNotSquare
(Structure2D mtrx) static void
throwIfNull
(Object obj) static void
throwIfNull
(Object... objs) static void
throwIfNull
(Object obj1, Object obj2) static void
throwIfNull
(Object obj1, Object obj2, Object obj3) static void
throwWithMessage
(String messagePattern, Object... args) toString()
Methods inherited from class java.lang.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
-