If the die is constructed with an invalid number of sides (for example, the number of sides being less than or equal to 0), the die throws a BadDieSizeException.

  • 如果构成骰子的面数无效(例如面数小于或等于0),则骰子引发BadDieSizeException异常。
目录 查词历史