Class MathException

All Implemented Interfaces:
Serializable

public class MathException extends OpenException
MathException - Base exception for the math module 数学模块基础异常

All exceptions thrown by the opencode-base-math module extend this class, which in turn extends OpenException for unified exception handling.

opencode-base-math 模块抛出的所有异常均继承此类, 而此类继承自 OpenException 以实现统一异常处理。

Since:
JDK 25, opencode-base-math V1.0.3
Author:
Leon Soo www.LeonSoo.com
See Also:
  • Constructor Details

    • MathException

      public MathException(String message)
      Creates a math exception with a message. 创建数学异常
      Parameters:
      message - the error message / 错误消息
    • MathException

      public MathException(String message, Throwable cause)
      Creates a math exception with a message and cause. 创建数学异常(带原因)
      Parameters:
      message - the error message / 错误消息
      cause - the root cause / 原始异常