Class DeploymentUnitProcessingException

  • All Implemented Interfaces:
    Serializable

    public class DeploymentUnitProcessingException
    extends DeploymentException
    An exception which is thrown when deployment unit processing fails. This can occur as a result of a failure to parse a descriptor, an error transforming a descriptor, an error preparing a deployment item, or other causes.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeploymentUnitProcessingException

        public DeploymentUnitProcessingException​(String msg)
        Constructs a DeploymentUnitProcessingException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
        Parameters:
        msg - the detail message
      • DeploymentUnitProcessingException

        public DeploymentUnitProcessingException​(Throwable cause)
        Constructs a DeploymentUnitProcessingException with the specified cause. The detail message is set to:
        (cause == null ? null : cause.toString())
        (which typically contains the class and detail message of cause).
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
      • DeploymentUnitProcessingException

        public DeploymentUnitProcessingException​(String msg,
                                                 Throwable cause)
        Constructs a DeploymentUnitProcessingException with the specified detail message and cause.
        Parameters:
        msg - the detail message
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)