| java.lang.Object java.lang.Throwable java.lang.Exception org.geotools.feature.IllegalAttributeException
IllegalAttributeException | public class IllegalAttributeException extends Exception (Code) | | Indicates client class has attempted to create an invalid feature.
|
Method Summary | |
static String | errorMessage(AttributeType expected, Object invalid) Constructs an error message based on expected and invalid.
Parameters: expected - the expected AttributeType. Parameters: invalid - the attribute that does not validate against expected. | public String | toString() |
IllegalAttributeException | public IllegalAttributeException(String message)(Code) | | Constructor with message argument.
Parameters: message - Reason for the exception being thrown |
IllegalAttributeException | public IllegalAttributeException(AttributeType expected, Object invalid)(Code) | | Constructor that makes the message given the expected and invalid.
Parameters: expected - the expected AttributeType. Parameters: invalid - the attribute that does not validate against expected. |
IllegalAttributeException | public IllegalAttributeException(AttributeType expected, Object invalid, Throwable cause)(Code) | | Constructor that makes the message given the expected and invalid, along
with the root cause.
Parameters: expected - the expected AttributeType. Parameters: invalid - the attribute that does not validate against expected. Parameters: cause - the root cause of the error. |
errorMessage | static String errorMessage(AttributeType expected, Object invalid)(Code) | | Constructs an error message based on expected and invalid.
Parameters: expected - the expected AttributeType. Parameters: invalid - the attribute that does not validate against expected. an error message reporting the problem. |
|
|