com.virtuosotechnologies.lib.error
Interface ExceptionFormatter

All Known Implementing Classes:
SimpleExceptionFormatter, StackTraceExceptionFormatter, UserMessageExceptionFormatter

public interface ExceptionFormatter

Interface for objects that format exceptions as string messages.


Method Summary
 String format(Throwable ex, PropertySet properties)
          Generate a String representation of the given exception.
 

Method Detail

format

public String format(Throwable ex,
                     PropertySet properties)
Generate a String representation of the given exception.

Parameters:
ex - throwable
properties - formatter-specific properties.
Returns:
a formatted String.