Package org.openmetadata.service.secrets
Class SecretsUtil
- java.lang.Object
-
- org.openmetadata.service.secrets.SecretsUtil
-
public final class SecretsUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildExceptionMessageConnection(String exceptionMessage, String type, boolean encrypt)static StringbuildExceptionMessageConnection(String exceptionMessage, String type, String firstAction, String secondAction, boolean isFirstAction)static StringbuildExceptionMessageConnectionMask(String exceptionMessage, String type, boolean mask)static StringbuildExceptionMessageUnrecognizedField(String message, String defaultMessage, String exceptionMessage, String type)Returns an error message when it is related to an Unrecognized field
-
-
-
Method Detail
-
buildExceptionMessageUnrecognizedField
public static String buildExceptionMessageUnrecognizedField(String message, String defaultMessage, String exceptionMessage, String type)
Returns an error message when it is related to an Unrecognized field
-
buildExceptionMessageConnection
public static String buildExceptionMessageConnection(String exceptionMessage, String type, String firstAction, String secondAction, boolean isFirstAction)
-
buildExceptionMessageConnection
public static String buildExceptionMessageConnection(String exceptionMessage, String type, boolean encrypt)
-
-