19 #include "DLL_EXPORT.h" 31 #pragma warning(disable : 4275) 46 #pragma warning(disable : 4251 4996) 52 struct DLL_PUBLIC DEPRECATED("Catch error::format::Json instead") SDExceptionValueError :
public SDException 55 SDExceptionValueError(std::string what);
61 struct DLL_PUBLIC DEPRECATED("Catch error::authprovider::Error instead") SDExceptionAuthProviderError :
public SDException
64 SDExceptionAuthProviderError(std::string what);
70 struct DLL_PUBLIC DEPRECATED("Catch error::seismicstore::ActionFailed instead") SDExceptionSDAccessorError :
public SDException
73 SDExceptionSDAccessorError(std::string what);
79 struct DLL_PUBLIC DEPRECATED("Catch error::storage::AccessError instead") SDExceptionGCSAccessorError :
public SDException
82 SDExceptionGCSAccessorError(std::string what);
88 struct DLL_PUBLIC DEPRECATED("Catch error::dataset::Error instead") SDExceptionDatasetError :
public SDException
91 SDExceptionDatasetError(std::string what);
97 struct DLL_PUBLIC DEPRECATED("Catch error::dataset::context::Expired instead") SDExceptionContextExpired :
public SDException
100 SDExceptionContextExpired(std::string what);
106 struct DLL_PUBLIC DEPRECATED("Catch error::dataset::context::UnknownFormat instead") SDExceptionContextVersionTooNew :
public SDException
109 SDExceptionContextVersionTooNew(std::string what);
115 struct DLL_PUBLIC DEPRECATED("Catch error::dataset::context::PathMismatch instead") SDExceptionContextPathNoMatch :
public SDException
118 SDExceptionContextPathNoMatch(std::string what);
124 struct DLL_PUBLIC DEPRECATED("Catch error::storage::Error instead") SDExceptionStorageError :
public SDException
127 SDExceptionStorageError(std::string what);
133 struct DLL_PUBLIC DEPRECATED("Catch error::storage::Error instead") SDExceptionAzureStorageError :
public SDExceptionStorageError
135 SDExceptionAzureStorageError(std::string what);
141 struct DLL_PUBLIC DEPRECATED("Catch error::internal::Error instead") SDExceptionInternalError :
public SDException
144 SDExceptionInternalError(std::string what);
150 struct DLL_PUBLIC DEPRECATED("Not thrown by the SDAPI") SDExceptionOutdatedMethod :
public SDException
153 SDExceptionOutdatedMethod(std::string what);
159 struct DLL_PUBLIC DEPRECATED("Catch error::seismicstore::NotJson instead") SDExpectedJsonException :
public SDException
162 SDExpectedJsonException(std::string what);
169 struct DLL_PUBLIC DEPRECATED("Catch error::dataset::context::NotReadOnly instead") SDExpectedReadOnlyDatasetException :
public SDException
172 SDExpectedReadOnlyDatasetException(std::string what);
178 class DLL_PUBLIC DEPRECATED("Catch error::dataset::Locked instead") SDExceptionDatasetLocked :
public SDException
190 Reason
const &reason()
const {
return mReason; }
192 std::uint32_t get_estimated_lock_lease_seconds()
const {
return mTimeToLiveSeconds; }
195 SDExceptionDatasetLocked(std::string
const &what);
197 SDExceptionDatasetLocked(std::string
const &what,
199 std::uint32_t ttl = (std::numeric_limits<std::uint32_t>::max)());
203 std::uint32_t mTimeToLiveSeconds;
208 namespace authprovider
213 class DLL_PUBLIC
Error :
public SDExceptionAuthProviderError
234 class DLL_PUBLIC
Error :
public SDExceptionDatasetError
240 std::string getPath();
263 std::string getPath();
286 std::string getPath();
309 std::string getPath();
332 std::string getPath();
355 std::string getPath();
378 std::string getPath();
383 std::string getField();
406 std::string getPath();
429 std::string getPath();
452 uint64_t getNodeId();
473 class DLL_PUBLIC
Locked :
public SDExceptionDatasetLocked
479 std::string getPath();
484 bool isReadLocked()
const;
489 bool isWriteLocked()
const;
494 bool lockFailed()
const;
499 bool unlockFailed()
const;
501 std::uint32_t getEstimatedLockLeaseSeconds()
const;
503 Reason
const &reason()
const =
delete;
505 std::uint32_t get_estimated_lock_lease_seconds()
const =
delete;
526 class DLL_PUBLIC
NotReadOnly :
public SDExpectedReadOnlyDatasetException
532 std::string getPath();
549 class DLL_PUBLIC
Expired :
public SDExceptionContextExpired
555 std::string getPath();
578 std::string getPath();
601 std::string getPath();
606 std::string getContextPath();
627 class DLL_PUBLIC
Error :
public SDExceptionValueError
690 std::string getMissingVariable();
704 class DLL_PUBLIC
Error :
public SDExceptionInternalError
848 namespace seismicstore
871 class DLL_PUBLIC
NotJson :
public SDExpectedJsonException
892 class DLL_PUBLIC
Error :
public SDExceptionStorageError
916 std::string whatsNotImplemented();
990 std::string whatsNotBuilt();
1008 #pragma warning(pop) Definition: SDExceptionImpl.h:194
std::shared_ptr< Impl > impl
Definition: SDException.h:589
Definition: SDException.h:966
Definition: SDExceptionImpl.h:324
Definition: SDException.h:704
Impl & impl
Definition: SDException.h:1001
Impl & impl
Definition: SDException.h:320
Definition: SDExceptionImpl.h:164
std::shared_ptr< Impl > impl
Definition: SDException.h:543
std::shared_ptr< Impl > impl
Definition: SDException.h:883
Definition: SDExceptionImpl.h:414
Definition: SDExceptionImpl.h:274
Definition: SDExceptionImpl.h:264
Definition: SDExceptionImpl.h:109
Definition: SDException.h:423
Definition: SDExceptionImpl.h:90
Definition: SDException.h:37
Definition: SDException.h:948
Definition: SDExceptionImpl.h:294
Definition: SDExceptionImpl.h:80
Impl & impl
Definition: SDException.h:787
Impl & impl
Definition: SDException.h:297
Definition: SDException.h:257
Impl & impl
Definition: SDException.h:440
Definition: SDExceptionImpl.h:70
Definition: SDException.h:795
Definition: SDException.h:280
Definition: SDException.h:473
Definition: SDExceptionImpl.h:204
Impl & impl
Definition: SDException.h:826
Definition: SDException.h:757
Definition: SDException.h:721
Definition: SDExceptionImpl.h:118
Definition: SDException.h:892
Definition: SDException.h:349
Definition: SDExceptionImpl.h:58
Impl & impl
Definition: SDException.h:807
Definition: SDException.h:526
Definition: SDException.h:930
Definition: SDException.h:446
Impl & impl
Definition: SDException.h:927
Definition: SDExceptionImpl.h:387
Definition: SDExceptionImpl.h:184
Definition: SDException.h:984
std::shared_ptr< Impl > impl
Definition: SDException.h:566
Definition: SDExceptionImpl.h:375
std::shared_ptr< Impl > impl
Definition: SDException.h:516
Definition: SDExceptionImpl.h:396
Definition: SDExceptionImpl.h:354
Definition: SDException.h:400
std::shared_ptr< Impl > impl
Definition: SDException.h:865
Definition: SDExceptionImpl.h:46
Definition: SDException.h:303
Impl & impl
Definition: SDException.h:343
std::shared_ptr< Impl > impl
Definition: SDException.h:225
Definition: SDExceptionImpl.h:285
Definition: SDException.h:832
Definition: SDException.h:910
Definition: SDException.h:213
Definition: SDExceptionImpl.h:100
Definition: SDException.h:871
Definition: SDException.h:549
Impl & impl
Definition: SDException.h:978
Definition: SDExceptionImpl.h:142
std::shared_ptr< Impl > impl
Definition: SDException.h:960
Impl & impl
Definition: SDException.h:751
Impl & impl
Definition: SDException.h:394
Definition: SDExceptionImpl.h:405
Definition: Constants.h:27
Definition: SDExceptionImpl.h:175
std::shared_ptr< Impl > impl
Definition: SDException.h:732
std::shared_ptr< Impl > impl
Definition: SDException.h:904
Definition: SDExceptionImpl.h:132
Impl & impl
Definition: SDException.h:366
Impl & impl
Definition: SDException.h:844
Definition: SDException.h:595
Impl & impl
Definition: SDException.h:463
Definition: SDExceptionImpl.h:345
Definition: SDException.h:372
Definition: SDException.h:775
Impl & impl
Definition: SDException.h:417
Definition: SDExceptionImpl.h:366
std::shared_ptr< Impl > impl
Definition: SDException.h:617
Impl & impl
Definition: SDException.h:274
Impl & impl
Definition: SDException.h:942
Definition: SDExceptionImpl.h:152
Definition: SDException.h:572
std::shared_ptr< Impl > impl
Definition: SDException.h:716
Definition: SDExceptionImpl.h:314
Definition: SDException.h:740
Definition: SDException.h:814
Definition: SDException.h:853
Definition: SDExceptionImpl.h:333
Definition: SDException.h:326
Definition: SDExceptionImpl.h:303
Impl & impl
Definition: SDException.h:769
std::shared_ptr< Impl > impl
Definition: SDException.h:251
Definition: SDException.h:234