public class DependencyCollectionException extends RepositoryException
| Modifier and Type | Field and Description |
|---|---|
private CollectResult |
result |
| Constructor and Description |
|---|
DependencyCollectionException(CollectResult result)
Creates a new exception with the specified result.
|
DependencyCollectionException(CollectResult result,
java.lang.String message)
Creates a new exception with the specified result and detail message.
|
DependencyCollectionException(CollectResult result,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.Throwable |
getCause(CollectResult result) |
CollectResult |
getResult()
Gets the collection result at the point the exception occurred.
|
private static java.lang.String |
getSource(CollectResult result) |
getMessageprivate final transient CollectResult result
public DependencyCollectionException(CollectResult result)
result - The collection result at the point the exception occurred, may be null.public DependencyCollectionException(CollectResult result, java.lang.String message)
result - The collection result at the point the exception occurred, may be null.message - The detail message, may be null.public DependencyCollectionException(CollectResult result, java.lang.String message, java.lang.Throwable cause)
result - The collection result at the point the exception occurred, may be null.message - The detail message, may be null.cause - The exception that caused this one, may be null.public CollectResult getResult()
null if unknown.private static java.lang.String getSource(CollectResult result)
private static java.lang.Throwable getCause(CollectResult result)