Class Tm1UnsupportedOperationException

All Implemented Interfaces:
Serializable

public final class Tm1UnsupportedOperationException extends Tm1Exception
The connected server doesn't define what a request needs, so the client didn't send it. Raised before any request, from the server's own $metadata: it says what's missing and, when known, the schema version that added it, next to the schema version the server reports.
See Also:
  • Constructor Details

    • Tm1UnsupportedOperationException

      public Tm1UnsupportedOperationException(String message, String missing)
      Creates the exception.
      Parameters:
      message - the full message
      missing - what's missing, such as Cube.Reserve
  • Method Details

    • isRetryable

      public boolean isRetryable()
      False: the server won't gain the operation by trying again.
      Specified by:
      isRetryable in class Tm1Exception
      Returns:
      true if a retry could succeed
    • mayHaveApplied

      public boolean mayHaveApplied()
      False: nothing was sent.
      Specified by:
      mayHaveApplied in class Tm1Exception
      Returns:
      false only if TM1 certainly didn't act on the request
    • missing

      public String missing()
      What's missing, as described in the message, such as Cube.Reserve.
      Returns:
      the description