Class ThreadException.InvalidStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.exceptions.TnsAIException
com.tnsai.thread.ThreadException
com.tnsai.thread.ThreadException.InvalidStateException
All Implemented Interfaces:
Serializable
Enclosing class:
ThreadException

public static class ThreadException.InvalidStateException extends ThreadException
Exception for invalid state transitions.
See Also:
  • Constructor Details

    • InvalidStateException

      public InvalidStateException(ThreadState currentState, String attemptedOperation)
  • Method Details

    • getCurrentState

      public ThreadState getCurrentState()
    • getAttemptedOperation

      public String getAttemptedOperation()