Class PSNErrorStrings
java.lang.Object
org.emau.icmvc.ganimed.ttp.psn.exceptions.PSNErrorStrings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isInvalidErrorString
(String text) Returns true if a given string is a PSNErrorString describing that a PSN or a value was invalid.static boolean
isNotFoundErrorString
(String text) Returns true if a given string is a PSNErrorString describing that a PSN or a value was not found.static boolean
isPSNErrorString
(String text) Returns true if a given string is a PSNErrorString.
-
Field Details
-
INVALID_PSN
- See Also:
-
INVALID_VALUE
- See Also:
-
PSN_NOT_FOUND
- See Also:
-
VALUE_NOT_FOUND
- See Also:
-
VALUE_IS_ANONYMISED
- See Also:
-
-
Constructor Details
-
PSNErrorStrings
public PSNErrorStrings()
-
-
Method Details
-
isPSNErrorString
Returns true if a given string is a PSNErrorString.- Parameters:
text
- the string to test- Returns:
- true if the given text is a PSNErrorString
-
isNotFoundErrorString
Returns true if a given string is a PSNErrorString describing that a PSN or a value was not found.- Parameters:
text
- the string to test- Returns:
- true if a given string is a PSNErrorString describing that a PSN or a value was not found.
-
isInvalidErrorString
Returns true if a given string is a PSNErrorString describing that a PSN or a value was invalid.- Parameters:
text
- the string to test- Returns:
- true if a given string is a PSNErrorString describing that a PSN or a value was invalid.
-