public class ServiceArtifactException
extends java.lang.Exception
Constructor and Description |
---|
ServiceArtifactException(java.lang.String name,
java.lang.String reason)
Create a new exception for the named artifact with the reason for the error.
|
ServiceArtifactException(java.lang.String name,
java.lang.Throwable cause)
Create a new exception for the named artifact with the cause of the error.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getReason() |
public ServiceArtifactException(java.lang.String name, java.lang.Throwable cause)
name
- The name of the service artifactcause
- The Throwable which has prevented the creation of the service artifactpublic ServiceArtifactException(java.lang.String name, java.lang.String reason)
name
- The name of the service artifactreason
- The reason the service artifact could not be created.