public class BIDException extends Exception
Constructor and Description |
---|
BIDException(int errorCode,
String errorMessage)
Constructor that takes an errorCode and errorMessage as input
|
BIDException(int errorCode,
String errorMessage,
List<?> errorParams)
Constructor that takes an errorCode and errorMessage as input
|
BIDException(int errorCode,
String errorMessage,
List<?> errorParams,
String methodIdent)
Constructor that takes an errorCode and errorMessage as input
|
BIDException(int errorCode,
String errorMessage,
String errorMessageParam)
Constructor that takes an errorCode and errorMessage as input
|
BIDException(int errorCode,
String errorMessage,
String errorMessageParam,
String methodIdentifier)
Constructor that takes an errorCode, an errorMessage and parameters along with
a method identifier as input
|
BIDException(String methodId,
int errorCode,
String errorMessage,
ArrayList<String> errorParams)
Constructor that takes a methodIdentifier, a errorCode and a errorMessage as input
|
Modifier and Type | Method and Description |
---|---|
String |
assembleStackTrace(StackTraceElement[] st)
Manually assembles a stacktrace based on the input
|
String |
getB64Request() |
String |
getB64Response() |
int |
getErrorCode()
Returns the BankID Server ErrorCode
|
String |
getLoggingMessage() |
String |
getMessage()
Returns the error message
|
String |
getMethodIdentifier()
Returns the BIDFacade method identifier which uniquley identifies a Facade
mthod
|
String |
getURL() |
void |
setB64Request(String req) |
void |
setB64Response(String res) |
void |
setErrorMessage(String string) |
void |
setMethodIdentifier(String string)
Sets the BIDFacade method identifier
|
void |
setURL(String url) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BIDException(int errorCode, String errorMessage)
errorCode
- int The error codeerrorMessage
- String The error messagepublic BIDException(int errorCode, String errorMessage, String errorMessageParam)
errorCode
- int The error codeerrorMessage
- String The error messageerrorMessageParam
- String A parameter to include in the error messagepublic BIDException(int errorCode, String errorMessage, String errorMessageParam, String methodIdentifier)
errorCode
- int The error codeerrorMessage
- String The error messageerrorMessageParam
- String A parameter to include in the error messagemethodIdentifier
- String that identifies the method that caused the error.public BIDException(int errorCode, String errorMessage, List<?> errorParams)
errorCode
- int The error codeerrorMessage
- String The error messageerrorParams
- List The error message params to include in error messagespublic BIDException(int errorCode, String errorMessage, List<?> errorParams, String methodIdent)
errorCode
- int The error codeerrorMessage
- String The error messageerrorParams
- List The error message params to include in error messagesmethodIdent
- String that identifies the method that caused the error.public BIDException(String methodId, int errorCode, String errorMessage, ArrayList<String> errorParams)
methodId
- String A method identifiererrorCode
- int The error codeerrorMessage
- String The error messageerrorParams
- ArrayList The error message params to include in error messagespublic int getErrorCode()
public String getMessage()
getMessage
in class Throwable
public String getMethodIdentifier()
public void setMethodIdentifier(String string)
string
- String The BIDFacade method identifierpublic void setErrorMessage(String string)
string
- public String getLoggingMessage()
public String assembleStackTrace(StackTraceElement[] st)
st
- StackTraceElement[] From an exceptionpublic void setB64Request(String req)
public void setB64Response(String res)
public void setURL(String url)
public String getB64Request()
public String getURL()
public String getB64Response()
Copyright © 2017 Nets Branch Norway. All Rights Reserved.