Package nablarch.fw.handler
Class DuplicateProcessCheckHandler.DuplicateProcess
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nablarch.fw.Result.Error
nablarch.fw.results.ServiceError
nablarch.fw.results.InternalError
nablarch.fw.handler.DuplicateProcessCheckHandler.DuplicateProcess
- All Implemented Interfaces:
Serializable
,Result
- Enclosing class:
- DuplicateProcessCheckHandler
@Published(tag="architect")
public static class DuplicateProcessCheckHandler.DuplicateProcess
extends InternalError
プロセスが2重に起動された場合に送出される例外クラス。
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface nablarch.fw.Result
Result.ClientError, Result.Error, Result.MultiStatus, Result.NotFound, Result.Success
-
Field Summary
Fields inherited from class nablarch.fw.results.InternalError
STATUS_CODE
-
Constructor Summary
-
Method Summary
Methods inherited from class nablarch.fw.results.ServiceError
getMessage, getMessageId, getMessageParams, writeLog
Methods inherited from class nablarch.fw.Result.Error
isSuccess, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DuplicateProcess
public DuplicateProcess(int exitCode) 2重起動を示す例外を生成する。- Parameters:
exitCode
- 終了コード
-
-
Method Details
-
getStatusCode
public int getStatusCode()Description copied from class:InternalError
ステータスコードを返す。- Specified by:
getStatusCode
in interfaceResult
- Overrides:
getStatusCode
in classInternalError
- Returns:
- ステータスコード
-