Package cn.gmkit.sm9
Class SM9UnsupportedPlatformException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.gmkit.sm9.SM9Exception
cn.gmkit.sm9.SM9UnsupportedPlatformException
- All Implemented Interfaces:
Serializable
当当前操作系统 / CPU 架构没有可用的 SM9 native 库时抛出。
该异常继承自 SM9Exception,因此既可以单独捕获以区分“平台不支持”,
也可以与其它 SM9 错误一起按 SM9Exception 统一处理。
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSM9UnsupportedPlatformException(String message) 使用错误消息创建异常。SM9UnsupportedPlatformException(String message, Throwable cause) 使用错误消息和根因创建异常。 -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SM9UnsupportedPlatformException
使用错误消息创建异常。- Parameters:
message- 错误消息
-
SM9UnsupportedPlatformException
使用错误消息和根因创建异常。- Parameters:
message- 错误消息cause- 根因异常
-