public class ArtifactsProcessingException extends Exception
Exception
indicating that something has gone wrong
during Artifact
processing.ArtifactsProcessor
,
ArtifactMojo
,
Serialized FormConstructor and Description |
---|
ArtifactsProcessingException()
Creates a new
ArtifactsProcessingException . |
ArtifactsProcessingException(String message)
Creates a new
ArtifactsProcessingException . |
ArtifactsProcessingException(Throwable cause)
Creates a new
ArtifactsProcessingException . |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Artifact> |
getArtifacts()
|
void |
setArtifacts(Collection<? extends Artifact> artifacts)
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ArtifactsProcessingException()
ArtifactsProcessingException
.public ArtifactsProcessingException(String message)
ArtifactsProcessingException
.message
- a message describing the error; may be null
public ArtifactsProcessingException(Throwable cause)
ArtifactsProcessingException
.cause
- the Throwable
that caused this ArtifactsProcessingException
to be thrown; may be null
public Collection<? extends Artifact> getArtifacts()
Collection
of Artifact
s that caused
this ArtifactsProcessingException
to be thrown.
This method may return null
.
Collection
of Artifact
s that caused
this ArtifactsProcessingException
to be thrown, or null
setArtifacts(Collection)
public void setArtifacts(Collection<? extends Artifact> artifacts)
artifacts
- the Collection
of Artifact
s that
caused this ArtifactsProcessingException
to be thrown;
may be null
getArtifacts()
Copyright © 2013–2015, Laird Nelson. All rights reserved.