Package com._1c.g5.v8.bm.core
Class BmEngineFatalErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com._1c.g5.v8.bm.core.BmEngineFatalErrorException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BmTooNewDataFormatException
,BmTooOldDataFormatException
public class BmEngineFatalErrorException extends RuntimeException
Exception thrown in case BM engine fatal errors.
This exception should be catched within BM engine 'facade' component to invokeIBmEngineCrashListener.onCrash()
.- See Also:
IBmEngineCrashListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BmEngineFatalErrorException(String message)
Creates a new exception with the the specified detailmessage
.BmEngineFatalErrorException(String engineId, String message)
Creates a new exception with the the specified detailmessage
.BmEngineFatalErrorException(String engineId, String message, Throwable cause)
Creates a new exception with the the specified detailmessage
andcause
.BmEngineFatalErrorException(String message, Throwable cause)
Creates a new exception with the the specified detailmessage
andcause
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEngineId()
Gets the engine identifier.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BmEngineFatalErrorException
public BmEngineFatalErrorException(String message, Throwable cause)
Creates a new exception with the the specified detailmessage
andcause
.- Parameters:
message
- the detail message.cause
- the cause.
-
BmEngineFatalErrorException
public BmEngineFatalErrorException(String engineId, String message, Throwable cause)
Creates a new exception with the the specified detailmessage
andcause
.- Parameters:
engineId
- the identifier of the engine, can't benull
.message
- the detail message.cause
- the cause.
-
BmEngineFatalErrorException
public BmEngineFatalErrorException(String message)
Creates a new exception with the the specified detailmessage
.- Parameters:
message
- the detail message.
-
-
Method Detail
-
getEngineId
public String getEngineId()
Gets the engine identifier.- Parameters:
engineId
- the identifier of the engine, can't benull
.
-
-