.. _doxcsid-class_p1_1_1_camera_sdk_1_1_sdk_exception_1a8382aff5f4596b5c67413c32d012a4a8: SdkException Constructor ++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.CameraSdk`` Create an SDK error from an ErrorCode, with an automatically loaded description .. ref-code-block:: csharp :class: doxyrest-overview-code-block public SdkException (ErrorCode errorCode) If the SDK has an internal error description, this is copied to the :ref:`ErrorMessage ` property. Since the Exception.Message is read only, it cannot be used to contains the error description. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - errorCode - The cause of the exception .. rubric:: Returns: An exception that can be thrown