package

com.atlassian.stash.exception

Exceptions

ArgumentValidationException  
AuthenticationRequiredException Indicates that authentication is required with applicationName and provides a URI to authenticate 
AuthorisationException  
ChangesetIndexingException This class is deprecated. in 3.8 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Callers should catch CommitIndexingException instead.  
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. 
CommandUsageException A specialization of CommandFailedException thrown when a command fails because it is called incorrectly. 
CommunicationException Indicates that there was a problem while trying to communicate with applicationName 
ConflictingRefNameException Indicates the operation could not be completed because a existing ref already exists with a name that conflicts with the one being created. 
DataStoreException Exception thrown when an operation on a data store, such as the database or disk, fails. 
DuplicateRefException Indicates the operation could not be completed because a ref already exists for the supplied name. 
EmptyRepositoryException Thrown when an operation cannot be completed because the related repository is empty. 
EntityOutOfDateException  
ExpiredLicenseException  
FeatureDisabledException Base class for exceptions thrown when attempts are made to use features which have been disabled. 
ForbiddenException Indicates that a particular action can not be performed by the current user. 
FormValidationException Exception to represent possible validation errors. 
IllegalEntityStateException Thrown to indicate an entity's internal state was not acceptable for performing a requested operation. 
IncompatibleLicenseChangeException Indicates that an attempt was made to change the license to one which does not support clustering but there is an active cluster of two or more nodes 
IntegrityException  
InvalidAuthorException  
InvalidLicenseException  
InvalidNameException  
InvalidRefNameException Indicates the ref name supplied was syntactically incorrect. 
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 This class is deprecated. in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Catch NoSuchCommitException instead.  
NoSuchEntityException  
NoSuchGroupException Specialisation of NoSuchEntityException thrown to indicate the named group does not exist. 
NoSuchObjectException  
NoSuchPathException  
NoSuchProjectException  
NoSuchRepositoryException  
NoSuchResourceException  
NoSuchTagException Indicates no tag exists with the specified name. 
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