Module bus.extra

Class QrCodeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.miaixz.bus.core.lang.exception.UncheckedException
org.miaixz.bus.core.lang.exception.InternalException
org.miaixz.bus.extra.qrcode.QrCodeException
All Implemented Interfaces:
Serializable

public class QrCodeException extends org.miaixz.bus.core.lang.exception.InternalException
Exception for QR code related operations.
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Constructor Details

    • QrCodeException

      public QrCodeException(Throwable e)
      Constructs a new QrCodeException with the specified cause.
      Parameters:
      e - The cause of the exception.
    • QrCodeException

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

      public QrCodeException(String format, Object... args)
      Constructs a new QrCodeException with a formatted detail message.
      Parameters:
      format - The format string for the detail message.
      args - The arguments referenced by the format specifiers in the format string.
    • QrCodeException

      public QrCodeException(String message, Throwable cause)
      Constructs a new QrCodeException with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The cause of the exception.
    • QrCodeException

      public QrCodeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a new QrCodeException with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
      Parameters:
      message - The detail message.
      cause - The cause of the exception.
      enableSuppression - Whether or not suppression is enabled or disabled.
      writableStackTrace - Whether or not the stack trace should be writable.
    • QrCodeException

      public QrCodeException(Throwable cause, String format, Object... args)
      Constructs a new QrCodeException with the specified cause and a formatted detail message.
      Parameters:
      cause - The cause of the exception.
      format - The format string for the detail message.
      args - The arguments referenced by the format specifiers in the format string.