tryToLong

尝试将当前ID转化为一个 Long

如果不是数字ID类型,则会尝试通过 String.toLong 进行转化。

Throws

无法转化为数字(内部抛出 NumberFormatException)时。