CoptException.CoptException()

Constructor of coptexception.

Synopsis

CoptException(int code, String msg)

Arguments

code: error code for exception.

msg: error message for exception.

CoptException.getCode()

Get the error code associated with the exception.

Synopsis

int getCode()

Return

the error code.