public class ArtifactDescriptorException extends RepositoryException
Modifier and Type | Field and Description |
---|---|
private ArtifactDescriptorResult |
result |
Constructor and Description |
---|
ArtifactDescriptorException(ArtifactDescriptorResult result)
Creates a new exception with the specified result.
|
ArtifactDescriptorException(ArtifactDescriptorResult result,
java.lang.String message)
Creates a new exception with the specified result and detail message.
|
ArtifactDescriptorException(ArtifactDescriptorResult 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(ArtifactDescriptorResult result) |
ArtifactDescriptorResult |
getResult()
Gets the descriptor result at the point the exception occurred.
|
getMessage
private final transient ArtifactDescriptorResult result
public ArtifactDescriptorException(ArtifactDescriptorResult result)
result
- The descriptor result at the point the exception occurred, may be null
.public ArtifactDescriptorException(ArtifactDescriptorResult result, java.lang.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, java.lang.String message, java.lang.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.private static java.lang.Throwable getCause(ArtifactDescriptorResult result)