Package com.scytales.mvalid.sdk
Interface Failure
-
- All Implemented Interfaces:
public interface Failure
The interface Failure.
-
-
Method Summary
Modifier and Type Method Description abstract String
getMessage()
Gets message. abstract String
getErrorMessageOrTypeName()
Gets error message or type name. String
getMessageOrDefault(@NonNull() String defaultMessage)
Gets message or default. -
-
Method Detail
-
getMessage
abstract String getMessage()
Gets message.
-
getErrorMessageOrTypeName
abstract String getErrorMessageOrTypeName()
Gets error message or type name.
-
getMessageOrDefault
@NonNull() String getMessageOrDefault(@NonNull() String defaultMessage)
Gets message or default.
- Parameters:
defaultMessage
- the default message
-
-
-
-