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:
-
Field Summary
Fields inherited from class org.miaixz.bus.core.lang.exception.UncheckedException
errcode, errmsg -
Constructor Summary
ConstructorsConstructorDescriptionQrCodeException(String message) Constructs a new QrCodeException with the specified detail message.QrCodeException(String format, Object... args) Constructs a new QrCodeException with a formatted detail message.QrCodeException(String message, Throwable cause) Constructs a new QrCodeException with the specified detail message and cause.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.Constructs a new QrCodeException with the specified cause.QrCodeException(Throwable cause, String format, Object... args) Constructs a new QrCodeException with the specified cause and a formatted detail message. -
Method Summary
Methods inherited from class org.miaixz.bus.core.lang.exception.UncheckedException
getErrcode, getErrmsg, getLocalizedMessage, getMessage, setErrcode, setErrmsgMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QrCodeException
Constructs a new QrCodeException with the specified cause.- Parameters:
e- The cause of the exception.
-
QrCodeException
Constructs a new QrCodeException with the specified detail message.- Parameters:
message- The detail message.
-
QrCodeException
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
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
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.
-