| | |
| | | |
| | | /** |
| | | * Returns the formatted representation of an error message for a given |
| | | * exception. |
| | | * throwable. |
| | | * This method applies a margin if the applyMargin parameter is |
| | | * <CODE>true</CODE>. |
| | | * @param ex the exception. |
| | | * @param t the throwable. |
| | | * @param applyMargin specifies whether we apply a margin or not to the |
| | | * resulting formatted text. |
| | | * @return the formatted representation of an error message for the given |
| | | * exception. |
| | | */ |
| | | public String getFormattedError(Exception ex, boolean applyMargin); |
| | | public String getFormattedError(Throwable t, boolean applyMargin); |
| | | |
| | | /** |
| | | * Returns the line break formatted. |