Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nl.coffee.math.ExceptionSupport
Field Summary | |
static java.lang.String | A_IS_NULL_MESSAGE
The message for an exception when some parameter a is null . |
static java.lang.String | B_IS_NULL_MESSAGE
The message for an exception when some parameter b is null . |
static java.lang.String | DENOMINATOR_IS_NULL_MESSAGE
The message for an exception when some parameter denominator is null . |
static java.lang.String | DIVIDE_BY_ZERO_MESSAGE
The message for an exception thrown in case of a divide by zero. |
static java.lang.String | N_IS_NULL_MESSAGE
The message for an exception when some parameter n is null . |
static java.lang.String | NUMERATOR_IS_NULL_MESSAGE
The message for an exception when some parameter numerator is null . |
static java.lang.String | OPERAND_IS_NULL_MESSAGE
The message for an exception when some parameter operand is null . |
static java.lang.String | OPERANDS_IS_NULL_MESSAGE
The message for an exception when some parameter operands is null . |
static java.lang.String | S_IS_NULL_MESSAGE
The message for an exception when some parameter s is null . |
Method Summary | |
static void | checkANotNull(java.lang.Object a)
|
static void | checkBNotNull(java.lang.Object b)
|
static void | checkDenominatorNotNull(IntegerNumber demominator)
|
static void | checkDivideByZero(RealNumber n)
|
static void | checkNNotNull(java.lang.Object n)
|
static void | checkNumeratorNotNull(IntegerNumber numerator)
|
static void | checkOperandNotNull(RealNumber operand)
|
static void | checkSNotNull(java.lang.Object s)
|
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String A_IS_NULL_MESSAGE
null
.public static final java.lang.String B_IS_NULL_MESSAGE
null
.public static final java.lang.String N_IS_NULL_MESSAGE
null
.public static final java.lang.String S_IS_NULL_MESSAGE
null
.public static final java.lang.String OPERAND_IS_NULL_MESSAGE
null
.public static final java.lang.String OPERANDS_IS_NULL_MESSAGE
null
.public static final java.lang.String NUMERATOR_IS_NULL_MESSAGE
null
.public static final java.lang.String DENOMINATOR_IS_NULL_MESSAGE
null
.public static final java.lang.String DIVIDE_BY_ZERO_MESSAGE
Method Detail |
public static void checkANotNull(java.lang.Object a) throws java.lang.IllegalArgumentException
public static void checkBNotNull(java.lang.Object b) throws java.lang.IllegalArgumentException
public static void checkNNotNull(java.lang.Object n) throws java.lang.IllegalArgumentException
public static void checkSNotNull(java.lang.Object s) throws java.lang.IllegalArgumentException
public static void checkNumeratorNotNull(IntegerNumber numerator) throws java.lang.IllegalArgumentException
public static void checkDenominatorNotNull(IntegerNumber demominator) throws java.lang.IllegalArgumentException
public static void checkOperandNotNull(RealNumber operand) throws java.lang.IllegalArgumentException
public static void checkDivideByZero(RealNumber n) throws java.lang.ArithmeticException
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |