{
}
+
+KDMDecryptionError::KDMDecryptionError (std::string message, int cipher_length, int modulus_dmax)
+ : runtime_error (String::compose ("Could not decrypt KDM (%1) (%2/%3)", message, cipher_length, modulus_dmax))
+{
+
+}
+
+KDMFormatError::KDMFormatError (std::string message)
+ : runtime_error (String::compose ("Could not parse KDM (%1)", message))
+{
+
+}
+
+CertificateChainError::CertificateChainError (std::string message)
+ : runtime_error (message)
+{
+
+}
+
+DCPReadError::DCPReadError (string message, string detail)
+ : runtime_error(String::compose("%1 (%2)", message, detail))
+ , _message(message)
+ , _detail(detail)
+{
+
+}