Package xyz.tcheeric.cashu.voucher.nostr
Class VoucherNostrException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xyz.tcheeric.cashu.voucher.nostr.VoucherNostrException
- All Implemented Interfaces:
Serializable
Exception thrown when voucher-specific Nostr operations fail.
This exception wraps various failure modes in voucher Nostr operations including:
- Voucher serialization/deserialization errors
- Event mapping failures
- Encryption/decryption errors
- Relay communication failures
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVoucherNostrException(String message) Constructs a VoucherNostrException with the specified detail message.VoucherNostrException(String message, Throwable cause) Constructs a VoucherNostrException with the specified detail message and cause.VoucherNostrException(Throwable cause) Constructs a VoucherNostrException with the specified 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
-
VoucherNostrException
Constructs a VoucherNostrException with the specified detail message.- Parameters:
message- the detail message
-
VoucherNostrException
Constructs a VoucherNostrException with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
VoucherNostrException
Constructs a VoucherNostrException with the specified cause.- Parameters:
cause- the cause
-