Package com._1c.g5.v8.bm.core
Class BmNotRunningException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com._1c.g5.v8.bm.core.BmNotRunningException
-
- All Implemented Interfaces:
Serializable
public final class BmNotRunningException extends RuntimeException
The type of runtime exception that is thrown by BM facilities in case if the underlying engine is already shut down or not started yet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BmNotRunningException(String engineId, EngineState engineState, String message)
Creates a new BM transaction exception.BmNotRunningException(String engineId, EngineState engineState, String message, Throwable cause)
Creates a new BM transaction exception.BmNotRunningException(String engineId, EngineState engineState, Throwable cause)
Creates a new BM transaction exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEngineId()
Gets the engine identifier.EngineState
getEngineState()
Gets the engine state.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BmNotRunningException
public BmNotRunningException(String engineId, EngineState engineState, String message, Throwable cause)
Creates a new BM transaction exception.- Parameters:
engineId
- The identifier of the engine, can't benull
.engineState
- The engine state at the moment of the exception, can't benull
.message
- the detail message, can benull
.cause
- the cause, can benull
.
-
BmNotRunningException
public BmNotRunningException(String engineId, EngineState engineState, String message)
Creates a new BM transaction exception.- Parameters:
engineId
- The identifier of the engine, can't benull
.engineState
- The engine state at the moment of the exception, can't benull
.message
- the detail message, can benull
.
-
BmNotRunningException
public BmNotRunningException(String engineId, EngineState engineState, Throwable cause)
Creates a new BM transaction exception.- Parameters:
engineId
- The identifier of the engine, can't benull
.engineState
- The engine state at the moment of the exception, can't benull
.cause
- the cause, can benull
.
-
-
Method Detail
-
getEngineId
public String getEngineId()
Gets the engine identifier.- Returns:
- The engine identifier, can't be
null
.
-
getEngineState
public EngineState getEngineState()
Gets the engine state.- Returns:
- The state of the engine at the moment of the exception, can't be
null
.
-
-