org.apache.directory.shared.util.exception
Class Exceptions

java.lang.Object
  extended by org.apache.directory.shared.util.exception.Exceptions

public final class Exceptions
extends Object

Provides utilities for manipulating and examining Throwable objects.

Author:
Apache Directory Project

Method Summary
static String printErrors(List<Throwable> errors)
          Appends the messages of each Throwable to a string, separated by a new line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

printErrors

public static String printErrors(List<Throwable> errors)
Appends the messages of each Throwable to a string, separated by a new line.

Parameters:
errors - the errors
Returns:
the string with all error message


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.