litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/temporal/nonpublic/AbstractWithTimeResAspects.java
|
@@ -76,9 +76,7 @@ |
76 |
76 |
|
{ |
77 |
77 |
|
if ( !pValidToWhat ) |
78 |
78 |
|
{ |
79 |
|
- |
throw new IllegalArgumentException( |
80 |
|
- |
"Insufficient Time Resolution supported when attempting to adjust '" + pWhat + |
81 |
|
- |
"', current value is: " + this ); |
|
79 |
+ |
throw new IllegalArgumentException( "Insufficient Time Resolution supported when attempting to adjust '" + pWhat + "', current value is: " + this ); |
82 |
80 |
|
} |
83 |
81 |
|
} |
84 |
82 |
|
|
|
@@ -87,9 +85,7 @@ |
87 |
85 |
|
{ |
88 |
86 |
|
if ( getResolutionIndex() < pMinResIndex ) |
89 |
87 |
|
{ |
90 |
|
- |
throw new IllegalArgumentException( |
91 |
|
- |
"Insufficient Time Resolution supported when attempting to set '" + pWhat + "' to '" + |
92 |
|
- |
pNewValue + "', current value is: " + this ); |
|
88 |
+ |
throw new IllegalArgumentException( "Insufficient Time Resolution supported when attempting to set '" + pWhat + "' to '" + pNewValue + "', current value is: " + this ); |
93 |
89 |
|
} |
94 |
90 |
|
return validate( pWhat, pNewValue, pMaxValue ); |
95 |
91 |
|
} |