|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspcp7.imagegallery.abstractionlayer.util.GeneralValidation
public class GeneralValidation
This is the genral validation class for validation methods which could be useful for any spcp7 imagegallery or even every spcp7 project.
| Constructor Summary | |
|---|---|
GeneralValidation()
|
|
| Method Summary | |
|---|---|
void |
validateRange(int from,
int to)
Validates a Range and throws an RangeNotValidException if the
supplied range is invalid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeneralValidation()
| Method Detail |
|---|
public void validateRange(int from,
int to)
throws RangeNotValidException
RangeNotValidException if the
supplied range is invalid.
from - lower border of rangeto - upper border of range
RangeNotValidException - If the range supplied is not valid. (from < 0 || to < 0 ||
from > to)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||