public class

IllegalTaskStateException

extends IllegalEntityStateException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.exception.IllegalEntityStateException
             ↳ com.atlassian.stash.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.stash.exception.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 ()