Package com._1c.g5.v8.dt.core.lifecycle
Class ProjectContextCannotBeStartedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com._1c.g5.v8.dt.core.lifecycle.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 Summary
Constructors Constructor Description ProjectContextCannotBeStartedException(IDtProject project)
Creates an instance of the exception.ProjectContextCannotBeStartedException(IDtProject project, String message)
Creates an instance of the exception.ProjectContextCannotBeStartedException(IDtProject project, String message, Throwable cause)
Creates an instance of the exception.ProjectContextCannotBeStartedException(IDtProject project, Throwable cause)
Creates an instance of the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDtProject
getProject()
Gets the target project for the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProjectContextCannotBeStartedException
public ProjectContextCannotBeStartedException(IDtProject project)
Creates an instance of the exception.- Parameters:
project
- The target project for the exception. Cannot benull
.
-
ProjectContextCannotBeStartedException
public ProjectContextCannotBeStartedException(IDtProject project, String message)
Creates an instance of the exception.- Parameters:
project
- The target project for the exception. Cannot benull
.message
- the detail message, can benull
.
-
ProjectContextCannotBeStartedException
public ProjectContextCannotBeStartedException(IDtProject project, String message, Throwable cause)
Creates an instance of the exception.- Parameters:
project
- The target project for the exception. Cannot benull
.message
- the detail message, can benull
.cause
- the cause, can benull
.
-
ProjectContextCannotBeStartedException
public ProjectContextCannotBeStartedException(IDtProject project, Throwable cause)
Creates an instance of the exception.- Parameters:
project
- The target project for the exception. Cannot benull
.cause
- the cause, can benull
.
-
-
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
.
-
-