public class VerifierUtils extends Object
| Constructor and Description |
|---|
VerifierUtils() |
| Modifier and Type | Method and Description |
|---|---|
static EnvironmentFailureException |
createMarkerFileFromException(RestoreRequired.FailureType failureType,
Throwable origException,
EnvironmentImpl envImpl,
EnvironmentFailureReason reason)
Create the restore marker file from Exception origException and return
an EFE that can be thrown by the caller.
|
static String |
getRestoreRequiredMessage(RestoreRequired restoreRequired) |
public static EnvironmentFailureException createMarkerFileFromException(RestoreRequired.FailureType failureType, Throwable origException, EnvironmentImpl envImpl, EnvironmentFailureReason reason)
failureType - the failure type that should be recorded in the
RestoreRequired log entry.origException - the exception contains the properties that are
stored to the marker file.public static String getRestoreRequiredMessage(RestoreRequired restoreRequired)
Copyright © 2024. All rights reserved.