Chaining exceptions

When catching adn throwing new exception, please add also the original exception to it.

try {
  ...
} catch (Exception cause) {
    throw new MyException("My message", cause);
}