public class OtclException extends RuntimeException
| Constructor and Description |
|---|
OtclException(String errorCode)
Instantiates a new otcl exception.
|
OtclException(String errorCode,
String msg)
Instantiates a new otcl exception.
|
OtclException(String errorCode,
String msg,
Throwable cause)
Instantiates a new otcl exception.
|
OtclException(String errorCode,
Throwable cause)
Instantiates a new otcl exception.
|
OtclException(Throwable cause)
Instantiates a new otcl exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Gets the error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OtclException(String errorCode)
errorCode - the error codepublic OtclException(String errorCode, String msg)
errorCode - the error codemsg - the msgpublic OtclException(Throwable cause)
cause - the causepublic OtclException(String errorCode, Throwable cause)
errorCode - the error codecause - the causepublic String getErrorCode()
Copyright © 2021. All rights reserved.