public <T1 extends Exception,
          T2 extends Exception>
  ExceptionHandler throwIfInstance(
      Class<T1> te1,
      Class<T2> te2) throws T1, T2 {
    throwIfInstance(te1);
    throwIfInstance(te2);
    return this;
  }
Throws if the input exception is the instance of the one in the input classes
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ExceptionHandler.java