Interface IExceptionArgumentStringRepresentaionPreparator

All Known Implementing Classes:
ExceptionArgumentStringRepresentaionPreparator

public interface IExceptionArgumentStringRepresentaionPreparator
A IExceptionArgumentStringRepresentaionPreparator provides method to prepare String representations of arguments for Exceptions.
Author:
Silvan Wyss
  • Method Details

    • getSmartSpaceEnclosedQuotedStringRepresentationWithMaxLengthOfArgument

      String getSmartSpaceEnclosedQuotedStringRepresentationWithMaxLengthOfArgument(Object argument)
      Parameters:
      argument - - Can be null.
      Returns:
      a space enclosed and quoted String representation of the given argument with a certain max length.
    • getStringRepresentationOfArgument

      String getStringRepresentationOfArgument(Object argument)
      Parameters:
      argument - - Can be null.
      Returns:
      a String representation of the given argument.
    • getStringRepresentationWithMaxLengthOfArgument

      String getStringRepresentationWithMaxLengthOfArgument(Object argument)
      Parameters:
      argument - - Can be null.
      Returns:
      a String representation of the given argument with a certain max length.