public class DependencyCollectionException extends RepositoryException
Constructor and Description |
---|
DependencyCollectionException(CollectResult result)
Creates a new exception with the specified result.
|
DependencyCollectionException(CollectResult result,
String message)
Creates a new exception with the specified result and detail message.
|
DependencyCollectionException(CollectResult result,
String message,
Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
CollectResult |
getResult()
Gets the collection result at the point the exception occurred.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DependencyCollectionException(CollectResult result)
result
- The collection result at the point the exception occurred, may be null
.public DependencyCollectionException(CollectResult result, 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, String message, 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.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.