Class ProjectContextCannotBeStartedException

  • All Implemented Interfaces:
    Serializable

    public class ProjectContextCannotBeStartedException
    extends RuntimeException
    Exception that indicates that the given project context cannot be started at all. Used to prevent LC automatic restoration from pointless restarts of the context.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProjectContextCannotBeStartedException

        public ProjectContextCannotBeStartedException​(IDtProject project)
        Creates an instance of the exception.
        Parameters:
        project - The target project for the exception. Cannot be null.
      • ProjectContextCannotBeStartedException

        public ProjectContextCannotBeStartedException​(IDtProject project,
                                                      String message)
        Creates an instance of the exception.
        Parameters:
        project - The target project for the exception. Cannot be null.
        message - the detail message, can be null.
      • ProjectContextCannotBeStartedException

        public ProjectContextCannotBeStartedException​(IDtProject project,
                                                      String message,
                                                      Throwable cause)
        Creates an instance of the exception.
        Parameters:
        project - The target project for the exception. Cannot be null.
        message - the detail message, can be null.
        cause - the cause, can be null.
      • ProjectContextCannotBeStartedException

        public ProjectContextCannotBeStartedException​(IDtProject project,
                                                      Throwable cause)
        Creates an instance of the exception.
        Parameters:
        project - The target project for the exception. Cannot be null.
        cause - the cause, can be null.
    • Method Detail

      • getProject

        public IDtProject getProject()
        Gets the target project for the exception.
        Returns:
        The project that is associated with this exception. Cannot be null.