Class InvalidEnvironmentException

All Implemented Interfaces:
Serializable

public class InvalidEnvironmentException extends DataAPIException
Exception thrown when the environment is invalid.
See Also:
  • Constructor Details

    • InvalidEnvironmentException

      public InvalidEnvironmentException(ClientErrorCodes code, String message)
      Constructor with code and message
      Parameters:
      code - error code
      message - error message
  • Method Details

    • throwErrorRestrictedAstra

      public static void throwErrorRestrictedAstra(String operation, DataAPIDestination currentEnv)
      Format error message.
      Parameters:
      operation - operation returning the error
      currentEnv - current environment