public class ProgrammingError extends RuntimeException
Constructor and Description |
---|
ProgrammingError(String message) |
ProgrammingError(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static void |
throwForIllegalInvocation()
For hidden, not-to-be-used, constructors and methods.
|
static void |
throwForMultiplicationNotPossible() |
static void |
throwForTryingToModifyAnImmutableObject() |
static void |
throwForUnsupportedOptionalOperation() |
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,
Structure2D mtrx2) |
static void |
throwIfNotSquare(Structure2D mtrx) |
static void |
throwIfNull(Object... objs) |
static void |
throwIfNull(Object obj) |
static void |
throwIfNull(Object obj1,
Object obj2) |
static void |
throwIfNull(Object obj1,
Object obj2,
Object obj3) |
static void |
throwWithMessage(String messagePattern,
Object... args) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ProgrammingError(String message)
public ProgrammingError(Throwable cause)
public static void throwForIllegalInvocation()
public static void throwForMultiplicationNotPossible()
public static void throwForTryingToModifyAnImmutableObject()
public static void throwForUnsupportedOptionalOperation()
public static void throwIfMultiplicationNotPossible(Access2D<?> left, Access2D<?> right)
public static void throwIfNotEqualColumnDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2)
public static void throwIfNotEqualDimensions(Access2D<?> mtrx1, Access2D<?> mtrx2)
public static void throwIfNotEqualRowDimensions(Structure2D mtrx1, Structure2D mtrx2)
public static void throwIfNotSquare(Structure2D mtrx)
public static void throwIfNull(Object obj)
public static void throwIfNull(Object... objs)
Copyright © 2019 Optimatika. All rights reserved.