Class ExceptionArgumentStringRepresentaionPreparator
java.lang.Object
ch.nolix.baseapi.errorcontrol.exceptionargumentpreparatorimpl.ExceptionArgumentStringRepresentaionPreparator
- All Implemented Interfaces:
IExceptionArgumentStringRepresentaionPreparator
public final class ExceptionArgumentStringRepresentaionPreparator
extends Object
implements IExceptionArgumentStringRepresentaionPreparator
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExceptionArgumentStringRepresentaionPreparator
public ExceptionArgumentStringRepresentaionPreparator()
-
-
Method Details
-
getSmartSpaceEnclosedQuotedStringRepresentationWithMaxLengthOfArgument
public String getSmartSpaceEnclosedQuotedStringRepresentationWithMaxLengthOfArgument(Object argument) - Specified by:
getSmartSpaceEnclosedQuotedStringRepresentationWithMaxLengthOfArgumentin interfaceIExceptionArgumentStringRepresentaionPreparator- Parameters:
argument- - Can be null.- Returns:
- a space enclosed and quoted
Stringrepresentation of the given argument with a certain max length.
-
getStringRepresentationOfArgument
- Specified by:
getStringRepresentationOfArgumentin interfaceIExceptionArgumentStringRepresentaionPreparator- Parameters:
argument- - Can be null.- Returns:
- a
Stringrepresentation of the given argument.
-
getStringRepresentationWithMaxLengthOfArgument
- Specified by:
getStringRepresentationWithMaxLengthOfArgumentin interfaceIExceptionArgumentStringRepresentaionPreparator- Parameters:
argument- - Can be null.- Returns:
- a
Stringrepresentation of the given argument with a certain max length.
-