先认识下IllegalArgumentException, 它有3个messages, 我们遇到的正式BadRange.
1 |
static final String BadBound = "bound must be positive"; |
以nextLong为例, 正是因为origin>=bound, 才触发了此Exception
1 |
|
先认识下IllegalArgumentException, 它有3个messages, 我们遇到的正式BadRange.
1 |
static final String BadBound = "bound must be positive"; |
以nextLong为例, 正是因为origin>=bound, 才触发了此Exception
1 |
|
近期评论