package

com.atlassian.stash.exception

Exceptions

ArgumentValidationException  
AuthenticationFailedException This class is deprecated. This exception is too broad, requiring callers to parse the exception message if they wish to know the real reason authentication failed. A richer hierarchy has been added in Stash 2.0, allowing callers to catch specific, strongly-typed exceptions instead. This exception will be removed in Stash 2.1.  
AuthenticationRequiredException Indicates that authentication is required with applicationName and provides a URI to authenticate 
AuthorisationException  
ChangesetIndexingException Exception to signal a problem that occurred during changeset indexing. 
CommandCanceledException Exception that is thrown when a command is cancelled. 
CommandException Exception that is thrown when command fails to complete. 
CommandFailedException Exception that is thrown when a command fails. 
CommunicationException Indicates that there was a problem while trying to communicate with applicationName 
DataStoreException  
EntityOutOfDateException  
ExpiredLicenseException  
ForbiddenException Indicates that a particular action can not be performed by the current user. 
IllegalEntityStateException Thrown to indicate an entity's internal state was not acceptable for performing a requested operation. 
IntegrityException  
InvalidLicenseException  
InvalidNameException  
InvalidTokenException  
LicenseException  
LicenseLimitException  
LimitExceededException Indicates that the requested operation would breach an internally enforced limit or policy, defined to ensure that the system operates within defined parameters. 
MailAuthenticationException Indicates there is an authentication issue talking to the configured mail server. 
MailException Base class for mail exceptions. 
MailQueueFullException Indicates the backing mail queue is full and the mail message cannot be accepted Regarding logging of instances of this exception, see MailException
MailSendException Indicates an error occurred sending an email. 
MailSizeExceededException Indicates there was an attempt to send an email that exceeds the maximum email size limit. 
NoDefaultBranchException Thrown to indicate the configured default branch for a repository does not exist. 
NoMailHostConfigurationException Indicates the Mail server is not configured and mail cannot be sent. 
NoSuchBranchException Indicates no branch exists with the specified name. 
NoSuchChangesetException Indicates no changeset exists with the specified ID. 
NoSuchEntityException  
NoSuchGroupException Specialisation of NoSuchEntityException thrown to indicate the named group does not exist. 
NoSuchObjectException  
NoSuchPathException  
NoSuchProjectException  
NoSuchRepositoryException  
NoSuchResourceException  
NoSuchUserException Indicates the named user does not exist 
PageStartOutOfBoundsException  
ProjectAuthorisationException  
RenderException Indicates a fatal exception occurred rendering markup, mostly likely due to IO errors rather than actual markup problems. 
RepositoryOperationException  
RequestCanceledException  
ResourceBusyException Exception thrown to indicate a resource is busy. 
ScmClientException  
ServerException  
ServiceException  
UnsupportedScmTypeException