public class

IllegalTaskStateException

extends IllegalEntityStateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.bitbucket.ServiceException
           ↳ com.atlassian.bitbucket.IllegalEntityStateException
             ↳ com.atlassian.bitbucket.task.IllegalTaskStateException

Class Overview

Thrown to indicate the task's state does not allow performing the requested operation.

Summary

Public Constructors
IllegalTaskStateException(KeyedMessage message, TaskState state)
Public Methods
@Nonnull TaskState getState()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public IllegalTaskStateException (KeyedMessage message, TaskState state)

Public Methods

@Nonnull public TaskState getState ()