blade create mysql throwCustomException

throw custom exception

Synopsis

Throw custom exception with --exception option

blade create mysql throwCustomException

Options

      --database string         The database name which used
      --effect-count string     The count of chaos experiment in effect
      --effect-percent string   The percent of chaos experiment in effect
      --exception string        Exception class inherit java.lang.Exception (required)
  -h, --help                    help for throwCustomException
      --host string             The database host
      --port string             The database port which used
      --process string          Application process name
      --sqltype string          The sql type, for example, select, update and so on.
      --table string            The first table name in sql.
      --timeout string          set timeout for experiment

Options inherited from parent commands

  -d, --debug   Set client to DEBUG mode

SEE ALSO

Auto generated by spf13/cobra on 11-Jul-2019

Last updated

Was this helpful?