public class DataVersionMismatchException extends RuntimeException
Constructor and Description |
---|
DataVersionMismatchException() |
DataVersionMismatchException(String message) |
DataVersionMismatchException(String message,
Throwable cause) |
DataVersionMismatchException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static void |
comparisonVersion(Long originVersion,
Long currentVersion)
版本比较,若版本数值不相等则抛出 DataVersionMismatchException 异常
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2022. All rights reserved.