Class ClassSourceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClassSourceException
    extends BuildException
    Throw when a failure occurs on loading or identifying the source class/script for a task or executor
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassSourceException()
      Construct a new exception without a detail message.
      ClassSourceException​(java.lang.String message)
      Constructs a new exception with the specified detail message
      ClassSourceException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      ClassSourceException​(java.lang.Throwable cause)
      Constructs a new exception with the specified cause.
    • Method Summary

      • 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

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

      • ClassSourceException

        public ClassSourceException()
        Construct a new exception without a detail message.
      • ClassSourceException

        public ClassSourceException​(java.lang.String message)
        Constructs a new exception with the specified detail message

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      • ClassSourceException

        public ClassSourceException​(java.lang.Throwable cause)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • ClassSourceException

        public ClassSourceException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.

        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)