Class InvalidCommandTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.snowflake.connectors.taskreactor.commands.queue.InvalidCommandTypeException
-
- All Implemented Interfaces:
Serializable
public class InvalidCommandTypeException extends RuntimeException
Exception thrown when the command type is not included in the predefined set represented by theCommand.CommandType
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCommandTypeException(String commandType, String id)
Creates aInvalidCommandTypeException
object with all fields initialized.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidCommandTypeException
public InvalidCommandTypeException(String commandType, String id)
Creates aInvalidCommandTypeException
object with all fields initialized.- Parameters:
commandType
- type of the commandid
- id of the command
-
-