Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • None of the exceptions defined in AsterixDB supports a zero-parameter constructor nor a single string-parameter constructor;
  • In all constructors of the root level exception classes, there should be an error code parameter;
  • No further exceptions should be thrown from constructing an exception defined in AsterixDB. Otherwise, the exception handling will be complicated.
  • All message templates should be tested.
  •  Any Any exceptions that are thrown from the asterixdb codebase should be RuntimeException or CompilationException, or their derivatives.
  • New error messages should not be defined in the source code. Instead, they should live in properties files that map error codes to error messages. Existing error messages that are defined in the source code should be migrated to properties files gradually.

...