Class VoucherNostrException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xyz.tcheeric.cashu.voucher.nostr.VoucherNostrException
All Implemented Interfaces:
Serializable

public class VoucherNostrException extends RuntimeException
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 Details

    • VoucherNostrException

      public VoucherNostrException(String message)
      Constructs a VoucherNostrException with the specified detail message.
      Parameters:
      message - the detail message
    • VoucherNostrException

      public VoucherNostrException(String message, Throwable cause)
      Constructs a VoucherNostrException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • VoucherNostrException

      public VoucherNostrException(Throwable cause)
      Constructs a VoucherNostrException with the specified cause.
      Parameters:
      cause - the cause