diff options
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index 0b8978dc..19422090 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -138,3 +138,14 @@ EmptyAssetPathError::EmptyAssetPathError (string id) { } + +BadKDMDateError::BadKDMDateError (bool starts_too_early) + : runtime_error ( + starts_too_early ? + "KDM validity period starts before or close to the start of the signing certificate validity period" : + "KDM validity ends after or close to the end of the signing certificate's validity period" + ) + , _starts_too_early (starts_too_early) +{ + +} |
