privatestaticfinalIllegalArgumentExceptionUNDEF_RULE_EFFECT_ILLEGAL_ARGUMENT_EXCEPTION=newIllegalArgumentException("Undefined Rule's Effect to which obligations/advice must apply");
"BigInteger argument outside the range which can be represented by a double");
privatestaticfinalArithmeticExceptionTOO_BIGINTEGER_FOR_INT_ARITHMETIC_EXCEPTION=newArithmeticException("BigInteger argument outside the range which can be represented by an int");
/**
* Official name of this type
*/
...
...
@@ -164,22 +169,12 @@ public final class IntegerValue extends NumericValue<BigInteger, IntegerValue> i
// public int intValueExact() throws ArithmeticException
// {
// if (value.compareTo(MAX_INT_AS_BIGINT) == 1 || value.compareTo(MIN_INT_AS_BIGINT) == -1)
// {
// throw new ArithmeticException("Integer overflow");
// }
//
// return value.intValue();
// }
/**
*
* Converts BigInteger to an int, checking for lost information. If the value of this BigInteger is out of the range of the int type, then an ArithmeticException is thrown.
...
...
@@ -198,7 +193,7 @@ public final class IntegerValue extends NumericValue<BigInteger, IntegerValue> i
privatestaticfinalIllegalArgumentExceptionINVALID_RFC822NAME_MATCH_ARG0_EXCEPTION=newIllegalArgumentException("Invalid first arg to function 'rfc822Name-match': empty string");
/**
* Official name of this type
*/
...
...
@@ -182,7 +184,7 @@ public final class RFC822NameValue extends SimpleValue<String>
if(maybePartialRfc822Name.isEmpty())
{
thrownewIllegalArgumentException("Invalid first arg to function 'rfc822Name-match': empty string");