
com.dooapp.gaedo.utils.ExceptionUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gaedo-definition Show documentation
Show all versions of gaedo-definition Show documentation
Hold the services interfaces, informers and expressions
The newest version!
package com.dooapp.gaedo.utils;
import java.util.Collection;
/**
* Class containing some utilities regarding exceptions
* @author ndx
*
*/
public class ExceptionUtils {
public static String collectMessages(
Collection extends Exception> exceptions) {
StringBuilder sOut = new StringBuilder();
for(Exception e: exceptions) {
sOut.append("\n\n\t").append(e.getMessage());
}
return sOut.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy