public long getThreadCpuTime()

in src/main/java/org/junit/internal/management/ReflectiveThreadMXBean.java [48:69]


  public long getThreadCpuTime(long id) {
    if (Holder.getThreadCpuTimeMethod != null) {
      Exception error = null;
      try {
        return (Long) Holder.getThreadCpuTimeMethod.invoke(threadMxBean, id);
      } catch (ClassCastException e) {
        error = e;
        // fallthrough
      } catch (IllegalAccessException e) {
        error = e;
        // fallthrough
      } catch (IllegalArgumentException e) {
        error = e;
        // fallthrough
      } catch (InvocationTargetException e) {
        error = e;
        // fallthrough
      }
      throw new UnsupportedOperationException(Holder.FAILURE_MESSAGE, error);
    }
    throw new UnsupportedOperationException(Holder.FAILURE_MESSAGE);
  }