com.ibm.zosconnect.buildtoolkit

Class ServiceArtifactException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.ibm.zosconnect.buildtoolkit.ServiceArtifactException
  • All Implemented Interfaces:
    java.io.Serializable


    public class ServiceArtifactException
    extends java.lang.Exception
    Use to indicate that a problem occurred when creating a ServiceArtifact for inclusion in the service archive.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName() 
      java.lang.String getReason() 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServiceArtifactException

        public ServiceArtifactException(java.lang.String name,
                                        java.lang.Throwable cause)
        Create a new exception for the named artifact with the cause of the error.
        Parameters:
        name - The name of the service artifact
        cause - The Throwable which has prevented the creation of the service artifact
      • ServiceArtifactException

        public ServiceArtifactException(java.lang.String name,
                                        java.lang.String reason)
        Create a new exception for the named artifact with the reason for the error.
        Parameters:
        name - The name of the service artifact
        reason - The reason the service artifact could not be created.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        The name of the service artifact
      • getReason

        public java.lang.String getReason()
        Returns:
        The reason the service artifact could not be created