|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.duracloud.common.error.DuraCloudCheckedException
org.duracloud.client.error.ServicesException
org.duracloud.client.error.InvalidServiceConfigurationException
public class InvalidServiceConfigurationException
On validation failure, this class propagates user friendly validation messages that can be associated with a particular property. In most cases, the "property" should be the "name" of the offending UserConfig or ServiceConfig object. If the validation error is general - ie not associated with a single property, you may construct a ValidationError with only the error text. In this case, the error will be displayed to the user at the top of the page.
Nested Class Summary | |
---|---|
static class |
InvalidServiceConfigurationException.ValidationError
|
Constructor Summary | |
---|---|
InvalidServiceConfigurationException(java.util.List<InvalidServiceConfigurationException.ValidationError> errors)
|
Method Summary | |
---|---|
java.util.List<InvalidServiceConfigurationException.ValidationError> |
getErrors()
|
Methods inherited from class org.duracloud.common.error.DuraCloudCheckedException |
---|
getArgs, getFormattedMessage, getKey, setArgs |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidServiceConfigurationException(java.util.List<InvalidServiceConfigurationException.ValidationError> errors)
Method Detail |
---|
public java.util.List<InvalidServiceConfigurationException.ValidationError> getErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |