Class StaleContextException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.guilhermekaua.spigotboot.inventoryapi.exception.StaleContextException
All Implemented Interfaces:
Serializable

public final class StaleContextException extends RuntimeException
Thrown when a state token is accessed through a context belonging to a different view class or to an already closed session.
See Also:
  • Constructor Details

    • StaleContextException

      public StaleContextException(String message)
      Creates the exception with a detail message.
      Parameters:
      message - the detail message
    • StaleContextException

      public StaleContextException(String message, Throwable cause)
      Creates the exception with a detail message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause