Class BuildException

    • Constructor Detail

      • BuildException

        public BuildException​(List<Diagnostic> diagnostics)
        Constructs a new DeploymentException instance. The message is left blank (null), and no cause is specified.
        Parameters:
        diagnostics - the diagnostics associated with the build failure (not null)
      • BuildException

        public BuildException​(String msg)
        Constructs a new DeploymentException instance. The diagnostics is left blank (null), and no cause is specified.
        Parameters:
        msg - the message
      • BuildException

        public BuildException​(String msg,
                              List<Diagnostic> diagnostics)
        Constructs a new DeploymentException instance with an initial message. No cause is specified.
        Parameters:
        msg - the message
        diagnostics - the diagnostics associated with the build failure (not null)
      • BuildException

        public BuildException​(Throwable cause,
                              List<Diagnostic> diagnostics)
        Constructs a new DeploymentException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this DeploymentException; otherwise the message is left blank (null).
        Parameters:
        cause - the cause
        diagnostics - the diagnostics associated with the build failure (not null)
      • BuildException

        public BuildException​(String msg,
                              Throwable cause,
                              List<Diagnostic> diagnostics)
        Constructs a new DeploymentException instance with an initial message and cause.
        Parameters:
        msg - the message
        cause - the cause
        diagnostics - the diagnostics associated with the build failure (not null)
    • Method Detail

      • getDiagnostics

        public List<Diagnostic> getDiagnostics()
        Get the diagnostics associated with the build failure.
        Returns:
        the diagnostics associated with the build failure (not null)