code: public static AlluxioStatusException fromThrowable(Throwable t) {
      if (t instanceof StatusRuntimeException) {
        return fromStatusRuntimeException((StatusRuntimeException) t);
      }
      if (t instanceof Error || t instanceof RuntimeException) {
        return new InternalException(t);
      }
      return fromCheckedException(t);
    }
docs: Converts an arbitrary throwable to an Alluxio status exception. This method should be used with
  caution because it could potentially convert an unchecked exception (indicating a bug) to a
  checked Alluxio status exception.
  
  @param t a throwable
  @return the converted {@link AlluxioStatusException}