public final class MojoUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.maven.plugin.MojoExecutionException |
createException(org.apache.maven.plugin.logging.Log log,
Throwable e,
String message)
Logs and creates the given exception.
|
static String |
toPrettyString(List<?> list)
Turns the list to its string representation, removing the starting and trailing brackets.
|
public static org.apache.maven.plugin.MojoExecutionException createException(org.apache.maven.plugin.logging.Log log,
Throwable e,
String message)
log - the logger to use.e - the original exception to throw.message - the message to log and add to the mojo exception.Copyright © 2006-2014. All Rights Reserved.