|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
uk.org.ogsadai.exception.DAIException
uk.org.ogsadai.exception.ResourcePropertyValueParseException
uk.org.ogsadai.client.toolkit.exception.ResourcePropertyValueCountException
public class ResourcePropertyValueCountException
Exception thrown if the number of resource propery values is not what was expected.
| Field Summary | |
|---|---|
static int |
UNLIMITED
Used to specifiy an unlimited maximum number of values |
| Constructor Summary | |
|---|---|
ResourcePropertyValueCountException(int min,
int max,
int actualCount)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getActualValuesCount()
Gets the actuals number of values. |
int |
getMaximumValuesAllowed()
Gets the maximum number of allowed values. |
int |
getMinimumValuesAllowed()
Gets the minimum number of allowed values. |
| Methods inherited from class uk.org.ogsadai.exception.DAIException |
|---|
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int UNLIMITED
| Constructor Detail |
|---|
public ResourcePropertyValueCountException(int min,
int max,
int actualCount)
min - minimum number of resource property values allowed.max - maximum number of resource property values allowed.
If the maximum is unlimited use the
UNLIMITED.actualCount - actual number of resource property values.| Method Detail |
|---|
public int getMinimumValuesAllowed()
public int getMaximumValuesAllowed()
UNLIMITED
if there is no maximum.public int getActualValuesCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||