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