String的substring(int,int)方法是会抛出IndexOutOfBoundsException异常的,
但是为什么该方法的声明中没有throws IndexOutOfBoundsException呢?