com.xebialabs.deployit.exception
Class DeployitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.deployit.exception.DeployitException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AuthenticationFailureException, Checks.ConditionFailedException, Checks.IncorrectArgumentException, Checks.MissingArgumentException, DeploymentService.DeploymentException, ImporterException, ItemAlreadyExistsException, ItemInUseException, NotFoundException, PermissionDeniedException
@HttpResponseCodeResult
public class DeployitException
- extends java.lang.RuntimeException
- See Also:
- Serialized Form
|
Method Summary |
void |
add(java.lang.String messageTemplate,
java.lang.Object... params)
|
void |
addAll(java.util.Collection<java.lang.String> messages)
|
java.util.List<java.lang.String> |
getErrors()
|
java.lang.String |
getMessage()
|
boolean |
hasErrors()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeployitException
public DeployitException()
DeployitException
public DeployitException(java.lang.String message)
DeployitException
public DeployitException(java.lang.String messageTemplate,
java.lang.Object... params)
DeployitException
public DeployitException(java.lang.Throwable cause,
java.lang.String messageTemplate,
java.lang.Object... params)
DeployitException
public DeployitException(java.lang.Throwable cause)
add
public void add(java.lang.String messageTemplate,
java.lang.Object... params)
addAll
public void addAll(java.util.Collection<java.lang.String> messages)
hasErrors
public boolean hasErrors()
getErrors
public java.util.List<java.lang.String> getErrors()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable