NotesError and NotesException classes (Java)

The NotesException class extends java.lang.Exception to include exception handling for Notes/Domino. The NotesError class defines constants for Domino® error codes.

Catching an exception

To catch a Notes/Domino exception, specify the parameter of the catch clause as type NotesException. The NotesException class contains the following public variables:

  • NotesException.id, of type int, contains the error code.
  • NotesException.text, of type String, contains the error text. If internal is not null, this variable also contains the error text of the internal exception.
  • NotesException.internal, of type Exception, is the internal exception if an internal exception caused the Domino® exception. Otherwise (and typically), this variable is null.
    Note: The internal variable is new with Release 6.

The following agent demonstrates how to catch a Notes/Domino exception. This sample agent requires that its comment contain a file name. Notes/Domino throws the exception NOTES_ERR_SYS_FILE_NOT_FOUND (4003) if the specified file does not exist. The agent prints the error code and error text if a Notes/Domino exception is thrown.

import lotus.domino.*;

public class JavaAgent extends AgentBase {

  public void NotesMain() {

    try {
      Session session = getSession();
      AgentContext agentContext = session.getAgentContext();

      // (Your code goes here) 
      Agent agent = agentContext.getCurrentAgent();
      DbDirectory dir = session.getDbDirectory(null);
      Database db = dir.openDatabase(agent.getComment());
      System.out.println("Title:\t" + db.getTitle());
        
    } catch(NotesException e) {
      System.out.println(e.id + " " + e.text);

    } catch(Exception e) {
      e.printStackTrace();
    }
  }
}

To print the error code, the error text, and a stack trace, call printStackTrace in the catch clause for NotesException, as shown.

Note: Including the error code and text in the stack trace is new in Release 6. Prior to Release 6 you had to explicitly print NotesException.id and NotesException.text as well as call NotesException.printStackTrace. Existing code that does this will print the id and text twice.
import lotus.domino.*;

public class JavaAgent extends AgentBase {

  public void NotesMain() {

    try {
      Session session = getSession();
      AgentContext agentContext = session.getAgentContext();

      // (Your code goes here) 
      Agent agent = agentContext.getCurrentAgent();
      DbDirectory dir = session.getDbDirectory(null);
      Database db = dir.openDatabase(agent.getComment());
      System.out.println("Title:\t" + db.getTitle());
        
    } catch(NotesException e) {
      e.printStackTrace();

    } catch(Exception e) {
      e.printStackTrace();
    }
  }
}

The following agent throws the base Domino® error NOTES_ERR_ERROR (4000) with your text if the agent comment is empty.

import lotus.domino.*;

public class JavaAgent extends AgentBase {

  public void NotesMain() {

    try {
      Session session = getSession();
      AgentContext agentContext = session.getAgentContext();

      // (Your code goes here) 
      Agent agent = agentContext.getCurrentAgent();
      if (agent.getComment().equals(""))
        throw new NotesException(NotesError.NOTES_ERR_ERROR,
        "No agent comment");
      DbDirectory dir = session.getDbDirectory(null);
      Database db = dir.openDatabase(agent.getComment());
      System.out.println("Title:\t" + db.getTitle());
        
    } catch(NotesException e) {
      System.out.println(e.id + " " + e.text);

    } catch(Exception e) {
      e.printStackTrace();
    }
  }
}

The following agent demonstrates checking for a specific error.

import lotus.domino.*;

public class JavaAgent extends AgentBase {

  public void NotesMain() {

    try {
      Session session = getSession();
      AgentContext agentContext = session.getAgentContext();

      // (Your code goes here) 
      Agent agent = agentContext.getCurrentAgent();
      if (agent.getComment().equals(""))
        throw new NotesException(NotesError.NOTES_ERR_ERROR,
        "No agent comment");
      DbDirectory dir = session.getDbDirectory(null);
      Database db = dir.openDatabase(agent.getComment());
      System.out.println("Title:\t" + db.getTitle());
        
    } catch(NotesException e) {
      if (e.id == NotesError.NOTES_ERR_SYS_FILE_NOT_FOUND)
        System.out.println(e.id + " File not found");
      else
        e.printStackTrace();

    } catch(Exception e) {
      e.printStackTrace();
    }
  }
}

Specification of NotesException

The specification of the NotesException class is as follows:

public final class NotesException extends UserException {
    public int id;
    public String text;
    public NotesException();
    public NotesException(int _id, String _text);
    
}

Specification of NotesError

The specification of the NotesError interface follows.

interface NotesError
{
  const long NOTES_ERR_ERROR = 4000;
  const long NOTES_ERR_SYS_OUT_OF_MEMORY = 4001;
  const long NOTES_ERR_SYS_LOAD_OUT_OF_MEM = 4002;
  const long NOTES_ERR_SYS_FILE_NOT_FOUND = 4003;
  const long NOTES_ERR_SYS_DICT_NOT_ON_PATH = 4004;
  const long NOTES_ERR_ERROR2 = 4005;
  const long NOTES_ERR_SYS_RESOURCE_NOT_FOUND = 4008;
  const long NOTES_ERR_SYS_LOADING_RESOURCE = 4009;
  const long NOTES_ERR_SYS_LOCKING_RESOURCE = 4010;
  const long NOTES_ERR_SYS_FREEING_RESOURCE = 4011;
  const long NOTES_ERR_SYS_NOSUCH_RESOURCE = 4012;
  const long NOTES_ERR_SYS_WARNING_TITLE = 4016;
  const long NOTES_ERR_MAIL_COPEN_FAILED = 4026;
  const long NOTES_ERR_MAIL_PAOPEN_FAILED = 4027;
  const long NOTES_ERR_MAIL_LAOPEN_FAILED = 4028;
  const long NOTES_ERR_MAIL_VIM_MESSAGE = 4029;
  const long NOTES_ERR_MAIL_CANT_CREATE = 4030;
  const long NOTES_ERR_MAIL_UNKNOWN_PROP = 4031;
  const long NOTES_ERR_MAIL_INVALID_MSG = 4032;
  const long NOTES_ERR_MAIL_NOPUBLIC_GRP = 4033;
  const long NOTES_ERR_MAIL_NOPRIVATE_GRP = 4034;
  const long NOTES_ERR_MAIL_GRPCREATE_FAILED = 4035;
  const long NOTES_ERR_MAIL_GROUP_DELETED = 4036;
  const long NOTES_ERR_MAIL_NAME_REQUIRED = 4037;
  const long NOTES_ERR_FAILURE = 4038;
  const long NOTES_ERR_NOSUCH_VIEW = 4039;
  const long NOTES_ERR_NOFTINDEX = 4040;
  const long NOTES_ERR_DBCREATE_FAILED = 4041;
  const long NOTES_ERR_DBDELETE_FAILED = 4042;
  const long NOTES_ERR_DBOPEN_FAILED = 4043;
  const long NOTES_ERR_INVALID_FORMULA = 4044;
  const long NOTES_ERR_INVALID_DATE = 4045;
  const long NOTES_ERR_COPY_FAILED = 4046;
  const long NOTES_ERR_VIEWOPEN_FAILED = 4047;
  const long NOTES_ERR_NOTEDEL_FAILED = 4048;
  const long NOTES_ERR_NEXTITEM_FAILED = 4049;
  const long NOTES_ERR_FINDITEM_FAILED = 4050;
  const long NOTES_ERR_MODLOAD_FAILED = 4051;
  const long NOTES_ERR_PROCFIND_FAILED = 4052;
  const long NOTES_ERR_RTWRITE_FAILED = 4053;
  const long NOTES_ERR_RTCONVERT_FAILED = 4054;
  const long NOTES_ERR_FTSRCH_FAILED = 4055;
  const long NOTES_ERR_QUERY_FAILED = 4056;
  const long NOTES_ERR_DOCSEARCH_FAILED = 4057;
  const long NOTES_ERR_ITEMCOPY_FAILED = 4058;
  const long NOTES_ERR_CREATENOTE_FAILED = 4059;
  const long NOTES_ERR_DBNOACCESS = 4060;
  const long NOTES_ERR_UNAME_LOOKUP = 4061;
  const long NOTES_ERR_SESOPEN_FAILED = 4062;
  const long NOTES_ERR_DATABASE_NOTOPEN = 4063;
  const long NOTES_ERR_SESSION_DATECONV = 4064;
  const long NOTES_ERR_SESSION_VALNOTSUPP = 4065;
  const long NOTES_ERR_CANT_GETNTH = 4066;
  const long NOTES_ERR_ATTACH_FAILED = 4067;
  const long NOTES_ERR_DETACH_FAILED = 4068;
  const long NOTES_ERR_EXTRACT_FAILED = 4069;
  const long NOTES_ERR_DIRSEARCH_FAILED = 4070;
  const long NOTES_ERR_BAD_INDEX = 4071;
  const long NOTES_ERR_NOSUCH_DIRECTORY = 4072;
  const long NOTES_ERR_CDTEXTCREATE_FAILED = 4073;
  const long NOTES_ERR_CDASSIM_FAILED = 4074;
  const long NOTES_ERR_NOT_RT_ITEM = 4075;
  const long NOTES_ERR_FORMCOMP_FAILED = 4076;
  const long NOTES_ERR_FORMEVAL_FAILED = 4077;
  const long NOTES_ERR_ITEMCREATE_FAILED = 4078;
  const long NOTES_ERR_DECRYPT_FAILED = 4079;
  const long NOTES_ERR_NOTLOCAL_IDX = 4080;
  const long NOTES_ERR_FTIDX_FAILED = 4081;
  const long NOTES_ERR_NOTEOPEN_FAILED = 4082;
  const long NOTES_ERR_RENDER_FAILED = 4083;
  const long NOTES_ERR_FILENOTFOUND = 4084;
  const long NOTES_ERR_UNKNOWN_TYPE = 4085;
  const long NOTES_ERR_FILEOPEN_FAILED = 4086;
  const long NOTES_ERR_FILEWRITE_FAILED = 4087;
  const long NOTES_ERR_DATE_NOTSET = 4088;
  const long NOTES_ERR_NODBNAME = 4089;
  const long NOTES_ERR_TEMPLCOPY_FAILED = 4090;
  const long NOTES_ERR_BAD_UNID = 4091;
  const long NOTES_ERR_UNAME_REQ = 4092;
  const long NOTES_ERR_GETACL_FAILED = 4093;
  const long NOTES_ERR_ACLENTRY_FAILED = 4094;
  const long NOTES_ERR_ACL_INVALID = 4095;
  const long NOTES_ERR_QUERYACL_FAILED = 4096;
  const long NOTES_ERR_REFRESH_FAILED = 4097;
  const long NOTES_ERR_OLEPKG_FAILED = 4098;
  const long NOTES_ERR_TMPFILE_FAILED = 4099;
  const long NOTES_ERR_READFILE_FAILED = 4100;
  const long NOTES_ERR_RTRENDER_FAILED = 4101;
  const long NOTES_ERR_WRONG_CLASS = 4102;
  const long NOTES_ERR_INVALID_ID = 4103;
  const long NOTES_ERR_INVALID_AGENT = 4104;
  const long NOTES_ERR_VIEWCLONE_FAILED = 4105;
  const long NOTES_ERR_NOVIEWNAME = 4106;
  const long NOTES_ERR_NEWSGROUPDB_FAILED = 4107;
  const long NOTES_ERR_NONEWSGROUPNAME = 4108;
  const long NOTES_ERR_ARC_NOT_ENABLED = 4109;
  const long NOTES_ERR_ARC_INCORRECT_PROFILE = 4110;
  const long NOTES_ERR_ARC_REQ_SRC_ACCESS = 4111;
  const long NOTES_ERR_ARC_REQ_ARC_ACCESS = 4112;
  const long NOTES_ERR_ARC_INCORRECT_SVR = 4113;
  const long NOTES_ERR_ARC_ARCFILE_NOT_ON_SVR = 4114;
  const long NOTES_ERR_ARC_FAILED = 4115;
  const long NOTES_ERR_ARC_SERVER_ARCHIVING = 4116;
  const long NOTES_ERR_ARC_SETTINGS_SIGNATURE = 4117;
  const long NOTES_ERR_ARC_REQ_SRC_USER_ACCESS = 4118;
  const long NOTES_ERR_ARC_REQ_ARC_USER_ACCESS = 4119;
  const long NOTES_ERR_ARC_PROHIBITED = 4120;
  const long NOTES_ERR_LOG_DBOPEN_FAILED = 4135;
  const long NOTES_ERR_LOG_FOPEN_FAILED = 4136;
  const long NOTES_ERR_LOG_CDCREATE_FAILED = 4137;
  const long NOTES_ERR_LOG_MAILLOG_FAILED = 4138;
  const long NOTES_ERR_MEM_HVPOOLFULL = 4139;
  const long NOTES_ERR_COPYACL_FAILED = 4150;
  const long NOTES_ERR_DOC_NOTINVIEW = 4151;
  const long NOTES_ERR_NOFTQUERY = 4152;
  const long NOTES_ERR_NOITEMNAME = 4153;
  const long NOTES_ERR_NOTEUPDATE_FAILED = 4154;
  const long NOTES_ERR_NOTELOCATE_FAILED = 4155;
  const long NOTES_ERR_VIEWDEL_FAILED = 4156;
  const long NOTES_ERR_LOG_CONSTRUCT_FAILED = 4157;
  const long NOTES_ERR_SEM_ALLOC_FAILED = 4158;
  const long NOTES_ERR_LOOKUP_FAILED = 4159;
  const long NOTES_ERR_SEND_FAILED = 4160;
  const long NOTES_ERR_NCREATE_FAILED = 4161;
  const long NOTES_ERR_MACRO_IDTBL_FAILED = 4162;
  const long NOTES_ERR_MACRO_RUN_FAILED = 4163;
  const long NOTES_ERR_DBOPEN_NOTLOCAL = 4164;
  const long NOTES_ERR_SIGN_NOPERM = 4165;
  const long NOTES_ERR_ENCRYPT_NOPERM = 4166;
  const long NOTES_ERR_ENCRYPT_FAILED = 4167;
  const long NOTES_ERR_NOSENDTO = 4168;
  const long NOTES_ERR_LOG_EVENTPUT_FAILED = 4169;
  const long NOTES_ERR_LOG_INVALID_EVTYPE = 4170;
  const long NOTES_ERR_LOG_INVALID_SEVERITY = 4171;
  const long NOTES_ERR_NO_NEWSLETTERDOCS = 4172;
  const long NOTES_ERR_MAILDBOPEN_FAILED = 4173;
  const long NOTES_ERR_NEWSLETTER_FAILED = 4174;
  const long NOTES_ERR_DFLT_VID_FAILED = 4175;
  const long NOTES_ERR_KEYFIND_FAILED = 4176;
  const long NOTES_ERR_RTTEXT_FAILED = 4177;
  const long NOTES_ERR_RTDOCLINK_FAILED = 4178;
  const long NOTES_ERR_NOPERM_DISKIO = 4179;
  const long NOTES_ERR_NOPERM_SIGN = 4180;
  const long NOTES_ERR_NOPERM_ENCRYPT = 4181;
  const long NOTES_ERR_NOPERM_ENVIRON = 4182;
  const long NOTES_ERR_NOPERM_ANY = 4183;
  const long NOTES_ERR_NOSERV_DB = 4184;
  const long NOTES_ERR_INVALID_DB = 4185;
  const long NOTES_ERR_INVALID_CREDEL = 4186;
  const long NOTES_ERR_INVALID_DOC = 4187;
  const long NOTES_ERR_DBS_MUST_MATCH = 4188;
  const long NOTES_ERR_RESPONSE_FAILED = 4189;
  const long NOTES_ERR_NOLISTS = 4190;
  const long NOTES_ERR_CONTAINS_FAILED = 4191;
  const long NOTES_ERR_MUSTBE_STRING = 4192;
  const long NOTES_ERR_DESVIEW_FAILED = 4193;
  const long NOTES_ERR_ITEMARR_FAILED = 4194;
  const long NOTES_ERR_SRVSEARCH_FAILED = 4195;
  const long NOTES_ERR_UNKNOWN_SRCHTYPE = 4196;
  const long NOTES_ERR_MUSTCALL_FIRSTDB = 4197;
  const long NOTES_ERR_ALLDOCS_FAILED = 4198;
  const long NOTES_ERR_ITYPENOT_TEXT = 4199;
  const long NOTES_ERR_INVALID_ITYPE = 4200;
  const long NOTES_ERR_NOSUCH_FOLDER = 4201;
  const long NOTES_ERR_ADDRBOOK_FAILED = 4202;
  const long NOTES_ERR_NOTCONTEXT_DB = 4203;
  const long NOTES_ERR_LTDACCESS_FAILED = 4204;
  const long NOTES_ERR_LTDUPDATE_FAILED = 4205;
  const long NOTES_ERR_BADVIEW_VERSION = 4206;
  const long NOTES_ERR_NEED_ADT = 4207;
  const long NOTES_ERR_ACLWRITE_FAILED = 4208;
  const long NOTES_ERR_RENAME_FAILED = 4209;
  const long NOTES_ERR_NOSUCH_ROLENAME = 4210;
  const long NOTES_ERR_PRIVNAME_FAILED = 4211;
  const long NOTES_ERR_READPRIV_FAILED = 4212;
  const long NOTES_ERR_DELPRIV_FAILED = 4213;
  const long NOTES_ERR_DELENTRY_FAILED = 4214;
  const long NOTES_ERR_NOSERV_EVENTS = 4215;
  const long NOTES_ERR_INVALID_ACLENTRYNAME = 4216;
  const long NOTES_ERR_ENTRYNAME_FAILED = 4217;
  const long NOTES_ERR_NOTLOCAL_REPL = 4218;
  const long NOTES_ERR_REPL_FAILED = 4219;
  const long NOTES_ERR_NOTLOCAL_COMPACT = 4220;
  const long NOTES_ERR_COMPACT_FAILED = 4221;
  const long NOTES_ERR_TIMEADJUST_FAILED = 4222;
  const long NOTES_ERR_NOSUCH_EMBED = 4223;
  const long NOTES_ERR_NOSUCH_EOFILE = 4224;
  const long NOTES_ERR_NOSUCH_PATH = 4225;
  const long NOTES_ERR_EMBEDARR_FAILED = 4226;
  const long NOTES_ERR_NOADDRS_FOUND = 4227;
  const long NOTES_ERR_DUP_ROLENAME = 4228;
  const long NOTES_ERR_CANTCREATE_FOLDER = 4229;
  const long NOTES_ERR_NOTERENDER_FAILED = 4230;
  const long NOTES_ERR_NOFROMFIELD = 4231;
  const long NOTES_ERR_TEXTLIST_FAILED = 4232;
  const long NOTES_ERR_NOTA_DOCUMENT = 4233;
  const long NOTES_ERR_VALIDATE_FAILED = 4234;
  const long NOTES_ERR_ABSTRACT_BUFFER = 4235;
  const long NOTES_ERR_ABSTRACTING_TEXT = 4236;
  const long NOTES_ERR_DESAGENT_FAILED = 4237;
  const long NOTES_ERR_MIXED_ARRAY = 4238;
  const long NOTES_ERR_INVALID_DOCLINK = 4239;
  const long NOTES_ERR_TEXTLIST_BAD_INPUT = 4240;
  const long NOTES_ERR_CANTREMOVE = 4241;
  const long NOTES_ERR_CANTENCRYPT = 4242;
  const long NOTES_ERR_CANTCLOSEDB = 4243;
  const long NOTES_ERR_CANTRUN_OLEOBJ = 4244;
  const long NOTES_ERR_CANTSHOW_OLEOBJ = 4245;
  const long NOTES_ERR_NOEMBEDDED_OBJ = 4246;
  const long NOTES_ERR_NOSUCH_EMBEDCLASS = 4247;
  const long NOTES_ERR_CANTGET_DBSUMMARY = 4248;
  const long NOTES_ERR_CANTCOPY_ITEMTYPE = 4249;
  const long NOTES_ERR_NEED_DB = 4250;
  const long NOTES_ERR_NEED_NOTE = 4251;
  const long NOTES_ERR_CANT_LINK_OLE1 = 4252;
  const long NOTES_ERR_ROLENAME_TOOBIG = 4253;
  const long NOTES_ERR_EOARRAY_FAILED = 4254;
  const long NOTES_ERR_ATTACHINFO_FAILED = 4255;
  const long NOTES_ERR_QUOTAINFO_FAILED = 4256;
  const long NOTES_ERR_DOCNOTSAVED = 4257;
  const long NOTES_ERR_ACLNEXT_INVALID = 4258;
  const long NOTES_ERR_NOTAFILE = 4259;
  const long NOTES_ERR_CANTFIND_ATTACHMENT = 4260;
  const long NOTES_ERR_NOSUCH_VERB = 4261;
  const long NOTES_ERR_DOVERB_FAILED = 4262;
  const long NOTES_ERR_INVALID_ADTTYPE = 4263;
  const long NOTES_ERR_FTQUERY_FAILED = 4264;
  const long NOTES_ERR_NOSUCH_DBID = 4265;
  const long NOTES_ERR_OPENBYRID_FAILED = 4266;
  const long NOTES_ERR_BAD_UNPROCFT = 4267;
  const long NOTES_ERR_AGENT_NO_RECURSION = 4268;
  const long NOTES_ERR_CANTGET_MAILSERVER = 4269;
  const long NOTES_ERR_BAD_NOTEID = 4270;
  const long NOTES_ERR_DBSECURITY = 4271;
  const long NOTES_ERR_DELETE_AGENT = 4272;
  const long NOTES_ERR_RUN_AGENT = 4273;
  const long NOTES_ERR_NOSUCH_DOCINDEX = 4274;
  const long NOTES_ERR_BAD_SOURCE_CLASS = 4275;
  const long NOTES_ERR_CANT_CHANGE_DEFACL = 4276;
  const long NOTES_ERR_LINKNOCLASS = 4277;
  const long NOTES_ERR_CANTDO_ARRAYOFARRAY = 4278;
  const long NOTES_ERR_SESSION_CLOSED = 4279;
  const long NOTES_ERR_CANTOPEN_URLDB = 4280;
  const long NOTES_ERR_NEED_URL = 4281;
  const long NOTES_ERR_INVALID_URL = 4282;
  const long NOTES_ERR_INVALID_URLHEADER = 4283;
  const long NOTES_ERR_NOSUCH_URLHEADER = 4284;
  const long NOTES_ERR_NOUNPROC_DOCS = 4285;
  const long NOTES_ERR_EMBED_FAILED = 4286;
  const long NOTES_ERR_NODEL_CURRENTDB = 4287;
  const long NOTES_ERR_INVALID_TIMEEXPR = 4288;
  const long NOTES_ERR_RECURSIVE_RENDER = 4289;
  const long NOTES_ERR_INVALID_ITEM = 4290;
  const long NOTES_ERR_NOMOVETO_PRIV1STUSE = 4291;
  const long NOTES_ERR_SAMESRV_REPLICA = 4292;
  const long NOTES_ERR_CANT_SIGN = 4293;
  const long NOTES_ERR_NO_MATCH = 4294;
  const long NOTES_ERR_AMBIGUOUS_MATCH = 4295;
  const long NOTES_ERR_DBALREADY_OPEN = 4296;
  const long NOTES_ERR_OLE_NOTAVAIL = 4297;
  const long NOTES_ERR_ARRAY_NOGOOD = 4298;
  const long NOTES_ERR_REGARG_NOTGIVEN = 4299;
  const long NOTES_ERR_MISSING_CERTID = 4300;
  const long NOTES_ERR_NOCERT_CTX = 4301;
  const long NOTES_ERR_REGFAILED = 4302;
  const long NOTES_ERR_SRVREGFAILED = 4303;
  const long NOTES_ERR_CERTREGFAILED = 4304;
  const long NOTES_ERR_XCERTFAILED = 4305;
  const long NOTES_ERR_RECERTFAILED = 4306;
  const long NOTES_ERR_NOSUCH_BOOL = 4307;
  const long NOTES_ERR_CANTSWITCH_ID = 4308;
  const long NOTES_ERR_NOSUCH_MAILPATH = 4309;
  const long NOTES_ERR_BAD_IDFILE = 4310;
  const long NOTES_ERR_CANTADD_USER = 4311;
  const long NOTES_ERR_CANTADD_SERV = 4312;
  const long NOTES_ERR_CANTADD_CERT = 4313;
  const long NOTES_ERR_NOCURRENT_AGENT = 4314;
  const long NOTES_ERR_AGENTLOG_FAILED = 4315;
  const long NOTES_ERR_NOSUCH_CERTIDTYPE = 4316;
  const long NOTES_ERR_NOCURRENT_FTRESULT = 4317;
  const long NOTES_ERR_IDTBL_FAILED = 4318;
  const long NOTES_ERR_PROF_ARG_MISSING = 4319;
  const long NOTES_ERR_NOSUCH_PROFILE = 4320;
  const long NOTES_ERR_PROFUPDATE_FAILED = 4321;
  const long NOTES_ERR_PROFDELETE_FAILED = 4322;
  const long NOTES_ERR_NOSUCH_ARG = 4323;
  const long NOTES_ERR_WRONG_UNID_LEN = 4324;
  const long NOTES_ERR_DESFORM_FAILED = 4325;
  const long NOTES_ERR_FORMDEL_FAILED = 4326;
  const long NOTES_ERR_NOCLOSE_CURRDB = 4327;
  const long NOTES_ERR_FREETIME_FAILED = 4328;
  const long NOTES_ERR_UNIFORM_FAILED = 4329;
  const long NOTES_ERR_GETOPTION_FAILED = 4330;
  const long NOTES_ERR_MARKREAD_FAILED = 4331;
  const long NOTES_ERR_MARKUNREAD_FAILED = 4332;
  const long NOTES_ERR_MULTIDB_FAILED = 4333;
  const long NOTES_ERR_ADDPROF_FAILED = 4334;
  const long NOTES_ERR_ULOOKUP_FAILED = 4335;
  const long NOTES_ERR_INVALID_OBJECT = 4336;
  const long NOTES_ERR_STAMP_FAILED = 4337;
  const long NOTES_ERR_BAD_ORGUNIT = 4338;
  const long NOTES_ERR_BAD_FTSORT = 4339;
  const long NOTES_ERR_NOTCONTEXT_COLLEC = 4340;
  const long NOTES_ERR_ECLACCESS_FAILED = 4341;
  const long NOTES_ERR_W32DOM_FAILED = 4342;
  const long NOTES_ERR_W32DOM_NOFIRSTUSER = 4343;
  const long NOTES_ERR_W32DOM_BADPLATFORM = 4344;
  const long NOTES_ERR_W32DOM_BADNETAPI32 = 4345;
  const long NOTES_ERR_W32DOM_DOMAIN_CONTROLLER = 4346;
  const long NOTES_ERR_TOOMANY_SORT_KEYS = 4347;
  const long NOTES_ERR_BAD_KEYTYPE = 4348;
  const long NOTES_ERR_CANT_SELF_ASSIMILATE = 4349;
  const long NOTES_ERR_CANT_SELF_COPY = 4350;
  const long NOTES_ERR_POP3_FAILED = 4351;
  const long NOTES_ERR_ARRCREATE_FAILED = 4352;
  const long NOTES_ERR_AGSAVE_FAILED = 4353;
  const long NOTES_ERR_CANTREMOVE_AGC = 4354;
  const long NOTES_ERR_CANTENCRYPT_AGC = 4355;
  const long NOTES_ERR_RTSTYLE_CREATEFAILED = 4356;
  const long NOTES_ERR_RTSTYLE_APPENDFAILED = 4357;
  const long NOTES_ERR_RTSTYLE_BADFONT = 4358;
  const long NOTES_ERR_NO_CONTEXTDB = 4359;
  const long NOTES_ERR_NULL_APPENDLIST = 4360;
  const long NOTES_ERR_NOSUCH_JAVA_TYPE = 4361;
  const long NOTES_ERR_INVALID_JARRAY = 4362;
  const long NOTES_ERR_RTSTYLE_BADBOOL = 4363;
  const long NOTES_ERR_RTSTYLE_BADFONTSIZE = 4364;
  const long NOTES_ERR_RTSTYLE_BADCOLOR = 4365;
  const long NOTES_ERR_RTSTYLE_BADEFFECT = 4366;
  const long NOTES_ERR_NOTREMOTE_DB = 4367;
  const long NOTES_ERR_RTITEM_EXISTS = 4368;
  const long NOTES_ERR_NOFORM = 4369;
  const long NOTES_ERR_NOTA_VECTOR = 4370;
  const long NOTES_ERR_SERVER_SWITCH = 4371;
  const long NOTES_ERR_DBDIR_THREAD = 4372;
  const long NOTES_ERR_ACL_CONSTRUCTOR_FAILED = 4380;
  const long NOTES_ERR_ACL_INVALID_TYPE = 4381;
  const long NOTES_ERR_INVALID_TIMEZONE = 4383;
  const long NOTES_ERR_VIEW_STATS = 4384;
  const long NOTES_ERR_VIEW_ENTRY_READ = 4385;
  const long NOTES_ERR_DBFOLDERREFS_NOT_SUPPORTED = 4386;
  const long NOTES_ERR_DBFOLDERREFS_NOT_ENABLED = 4387;
  const long NOTES_ERR_VE_NO_SEPARATOR = 4388;
  const long NOTES_ERR_STRING_TOO_LONG = 4389;
  const long NOTES_ERR_VIEW_FMT_READ = 4390;
  const long NOTES_ERR_VIEW_INVALID_COLUMN = 4396;
  const long NOTES_ERR_NO_COLLECTION = 4373;
  const long NOTES_ERR_NOT_IN_SESSION = 4374;
  const long NOTES_ERR_INVALID_NAME = 4375;
  const long NOTES_ERR_DELETED = 4376;
  const long NOTES_ERR_NOT_LOCAL = 4377;
  const long NOTES_ERR_INVALID_RANGE = 4378;
  const long NOTES_ERR_OBJECT_NOT_FOUND = 4379;
  const long NOTES_ERR_ITEM_CONVERT = 4382;
  const long NOTES_ERR_VIEW_BAD_ENTRY = 4391;
  const long NOTES_ERR_VIEWNAV_BAD_MAX = 4392;
  const long NOTES_ERR_VIEWNAV_BAD_POS = 4393;
  const long NOTES_ERR_VIEWNAV_BAD_PARENT = 4394;
  const long NOTES_ERR_NOT_IMPLEMENTED = 4395;
  const long NOTES_ERR_RTPSTYLE_APPENDFAILED = 4397;
  const long NOTES_ERR_RTPSTYLE_TOOMANYTABS = 4398;
  const long NOTES_ERR_RTPSTYLE_OUTOFRANGE = 4399;
  const long NOTES_ERR_RTPSTYLE_BADALIGN = 4400;
  const long NOTES_ERR_RTPSTYLE_BADSPACING = 4401;
  const long NOTES_ERR_RTPSTYLE_BADPAGINATE = 4402;
  const long NOTES_ERR_ACL_MISSING = 4403;
  const long NOTES_ERR_SESSION_MISSING = 4404;
  const long NOTES_ERR_DATABASE_MISSING = 4405;
  const long NOTES_ERR_DOCUMENT_MISSING = 4406;
  const long NOTES_ERR_VIEW_MISSING = 4407;
  const long NOTES_ERR_PARENT_MISSING = 4408;
  const long NOTES_ERR_NOT_RICHTEXT = 4409;
  const long NOTES_ERR_PSTYPE_MISSING = 4410;
  const long NOTES_ERR_REMOVEALL_FAILED = 4411;
  const long NOTES_ERR_ENTRY_NOT_FROM_COLLECTION = 4412;
  const long NOTES_ERR_NOTE_NOT_FROM_COLLECTION = 4413;
  const long NOTES_ERR_ADDENTRY_DUP = 4414;
  const long NOTES_ERR_ADDENTRY_FAILED = 4415;
  const long NOTES_ERR_MACRO_SYNCH_ENABLE_FAILED = 4416;
  const long NOTES_ERR_SYNCH_RUN_AGENT = 4417;
  const long NOTES_ERR_SYNCH_NOOLE = 4418;
  const long NOTES_ERR_RTPSTYLE_BADTABTYPE = 4419;
  const long NOTES_ERR_GETALLENTRIES_FAILED = 4420;
  const long NOTES_ERR_EXECUTESETUP_FAILED = 4421;
  const long NOTES_ERR_MAXDBSIZE_EXCEEDED = 4422;
  const long NOTES_ERR_INVALID_NAV = 4423;
  const long NOTES_ERR_SVRACCESS_FAILED = 4425;
  const long NOTES_ERR_NOT_IN_VIEW = 4426;
  const long NOTES_ERR_NOT_IN_DB = 4427;
  const long NOTES_ERR_PROP_NOT_AVAIL = 4428;
  const long NOTES_ERR_NOT_IN_ACL = 4429;
  const long NOTES_ERR_NO_LOGS_OPEN = 4430;
  const long NOTES_ERR_CACHE_SZ_INVALID = 4431;
  const long NOTES_ERR_VIEW_ENTRY_REMOVED = 4432;
  const long NOTES_ERR_VIEW_ENTRY_DELETED = 4433;
  const long NOTES_ERR_DOCUMENT_DELETED = 4434;
  const long NOTES_ERR_SYNCH_INVALIDOP = 4435;
  const long NOTES_ERR_CREATEOUTLINE_FAILED = 4436;
  const long NOTES_ERR_HTML_GENFAILED = 4437;
  const long NOTES_ERR_CREATE_DOCCOLL_FAILED = 4438;
  const long NOTES_ERR_EXECUTESETUP_FAILED2 = 4439;
  const long NOTES_ERR_CANTUPDATE_FOLDER = 4440;
  const long NOTES_ERR_RTITEM_MISSING = 4441;
  const long NOTES_ERR_NO_AUTHORIZATION = 4442;
  const long NOTES_ERR_NAME_MISSING = 4443;
  const long NOTES_ERR_ITEM_MISSING = 4444;
  const long NOTES_ERR_DATERANGE_MISSING = 4445;
  const long NOTES_ERR_VIEWENTRY_MISSING = 4446;
  const long NOTES_ERR_VIEWENTRY_OR_DOC_MISSING = 4447;
  const long NOTES_ERR_OUTLINE_MISSING = 4448;
  const long NOTES_ERR_DATETIME_MISSING = 4449;
  const long NOTES_ERR_VNAV_CAT_PARENT = 4450;
  const long NOTES_ERR_VNAV_CAT_GOTO = 4451;
  const long NOTES_ERR_INVALID_SIZE = 4452;
  const long NOTES_ERR_REGSERVER_NOTSET = 4453;
  const long NOTES_ERR_NOT_ATTACHMENT = 4454;
  const long NOTES_ERR_URL_NOT_RESOLVED = 4455;
  const long NOTES_ERR_INVALID_IOR = 4456;
  const long NOTES_ERR_GETIOR_FAILED = 4457;
  const long NOTES_ERR_INVALID_DATESPEC = 4458;
  const long NOTES_ERR_INVALID_TIMESPEC = 4459;
  const long NOTES_ERR_CANTSAVE_CURRENTAGENT = 4460;
  const long NOTES_ERR_CANTDISABLE_MANUALAGENT = 4461;
  const long NOTES_ERR_BAD_ENTRYDOC = 4462;
  const long NOTES_ERR_UNINITIALIZED_THREAD = 4463;
  const long NOTES_ERR_INVALIDATED_OBJECT = 4464;
  const long NOTES_ERR_ACL_ROLE_INVALID = 4465;
  const long NOTES_ERR_ARG_DELETED = 4466;
  const long NOTES_ERR_ACLENTRY_MISSING = 4467;
  const long NOTES_ERR_INVALID_DATE_NOARG = 4468;
  const long NOTES_ERR_ADDDOC_DUP = 4469;
  const long NOTES_ERR_BADDBSIZE = 4470;
  const long NOTES_ERR_BAD_OUTLINE_ENTRY = 4471;
  const long NOTES_ERR_CANTMODIFY_REMOTE_AGENT = 4472;
  const long NOTES_ERR_CANT_ADD_CHILD_BEFORE_ENTRY = 4473;
  const long NOTES_ERR_NULL_REF_ENTRY = 4474;
  const long NOTES_ERR_REF_ENTRY_NOTINOUTLINE = 4475;
  const long NOTES_ERR_OUTLINE_ADDENTRY_FAILED = 4476;
  const long NOTES_ERR_OUTLINE_MOVEENTRY_FAILED = 4477;
  const long NOTES_ERR_OUTLINE_REMOVEENTRY_FAILED = 4478;
  const long NOTES_ERR_INVALID_PLACEHOLDER_PARENT = 4479;
  const long NOTES_ERR_INVALID_REPLICATION_PRIORITY = 4480;
  const long NOTES_ERR_OUTLINE_INVALID_PRIVATE_VIEW = 4481;
  const long NOTES_ERR_NOT_SUPPORTED = 4482;
  const long NOTES_ERR_NEED_HDRNAME = 4483;
  const long NOTES_ERR_NEED_MIMEENT = 4484;
  const long NOTES_ERR_ITEM_EXISTS = 4485;
  const long NOTES_ERR_INVALID_USERNAME_PASSWD = 4486;
  const long NOTES_ERR_INVALID_USERNAME = 4487;
  const long NOTES_ERR_SERVER_ACCESS_DENIED = 4488;
  const long NOTES_ERR_NO_SERVER = 4489;
  const long NOTES_ERR_SESSION_NOT_INIT = 4491;
  const long NOTES_ERR_SESSION_IS_INIT = 4492;
  const long NOTES_ERR_AGENT_SESSION = 4493;
  const long NOTES_ERR_INVALID_CREDENTIALS = 4494;
  const long NOTES_ERR_INVALID_LTPA = 4495;
  const long NOTES_ERR_CANT_GET_THAT = 4496;
  const long NOTES_ERR_ARRAY_MISMATCH = 4497;
  const long NOTES_ERR_RTCTX_POSITION_INVALID = 4498;
  const long NOTES_ERR_RTTABLE_APPENDFAILED = 4499;
  const long NOTES_ERR_RTTBL_MAXROWS = 4500;
  const long NOTES_ERR_RTTBL_MAXCOLS = 4501;
  const long NOTES_ERR_RTTBL_MINSIZE = 4502;
  const long NOTES_ERR_RTCTX_POSITION_UNDEF = 4503;
  const long NOTES_ERR_RTRNG_RESTRICTED_OPERATION = 4504;
  const long NOTES_ERR_RTEDIT_FAILED = 4505;
  const long NOTES_ERR_RTELEM_TYPEUNKNOWN = 4506;
  const long NOTES_ERR_RT_FIRSTFINISHINSERT = 4507;
  const long NOTES_ERR_METHODNOTAVAILABLE = 4508;
  const long NOTES_ERR_INVALID_VALUE = 4509;
  const long NOTES_ERR_DXLEXPORTER_INPUT_OBJECT = 4510;
  const long NOTES_ERR_DXLEXPORTER_OUTPUT_OBJECT = 4511;
  const long NOTES_ERR_ANADMINP_NOSUCH_CAORG = 4512;
  const long NOTES_ERR_ANADMINP_UNKNOWN = 4513;
  const long NOTES_ERR_RTNAV_INVALID_TYPE = 4514;
  const long NOTES_ERR_TIMEMERGE_FAILED = 4515;
  const long NOTES_ERR_GETFONT_FAILED = 4516;
  const long NOTES_ERR_DXLIMPORTER_INPUT_OBJECT = 4517;
  const long NOTES_ERR_DXLIMPORTER_OUTPUT_OBJECT = 4518;
  const long NOTES_ERR_XSLT_INPUT_OBJECT = 4519;
  const long NOTES_ERR_XSLT_OUTPUT_OBJECT = 4520;
  const long NOTES_ERR_XSLT_STYLESHEET_OBJECT = 4521;
  const long NOTES_ERR_DXLIMPORTER_FAILED = 4522;
  const long NOTES_ERR_DXLIMPORTER_INVALID_OPTION = 4523;
  const long NOTES_ERR_XML_PIPING = 4524;
  const long NOTES_ERR_RT_FIRSTFINISHSECTION = 4525;
  const long NOTES_ERR_DB_POLICYNOTFOUND = 4526;
  const long NOTES_ERR_DB_ARCHIVEINFO = 4527;
  const long NOTES_ERR_SS_ALREADYINUSE = 4528;
  const long NOTES_ERR_FILEREADONLY = 4529;
  const long NOTES_ERR_FILE_NONAME = 4530;
  const long NOTES_ERR_NOTBYTEARRAY = 4531;
  const long NOTES_ERR_NULLSTRING = 4532;
  const long NOTES_ERR_NOTHOTSPOTLINK = 4533;
  const long NOTES_ERR_BADTBLSTYLE = 4534;
  const long NOTES_ERR_ME_ILLEGALXNOTES = 4535;
  const long NOTES_ERR_NON_BODY_MIME = 4536;
  const long NOTES_ERR_NOSUCH_MAILSYSTEM = 4537;
  const long NOTES_ERR_NOSUCH_MAILOWNERACCESS = 4538;
  const long NOTES_ERR_NOSUCH_ROAMINGCLEANUPSETTING = 4539;
  const long NOTES_ERR_BADMAILFILEACTION = 4540;
  const long NOTES_ERR_SMSDEL_FAILED = 4541;
  const long NOTES_ERR_NOSUCH_GROUP = 4542;
  const long NOTES_ERR_SAXPARSER_INPUT_OBJECT = 4543;
  const long NOTES_ERR_SAXPARSER_OUTPUT_OBJECT = 4544;
  const long NOTES_ERR_DOMPARSER_INPUT_OBJECT = 4545;
  const long NOTES_ERR_DOMPARSER_OUTPUT_OBJECT = 4546;
  const long NOTES_ERR_SS_CHARSET_UNKNOWN = 4547;
  const long NOTES_ERR_ATTRIBUTE_NOT_FOUND = 4548;
  const long NOTES_ERR_INVALID_XML_OUTPUT_FORMAT = 4549;
  const long NOTES_ERR_OUTPUT_OBJECT_NOT_SET = 4550;
  const long NOTES_ERR_RTRNG_USESTANDARDNAV = 4551;
  const long NOTES_ERR_POLICY_DOC_FAILED = 4552;
  const long NOTES_ERR_RTNAV_MUSTBETYPETEXT = 4553;
  const long NOTES_ERR_RTNAV_NOOFFSETWITHAFTER = 4554;
  const long NOTES_ERR_NOT_HIER_MAIL_SERVERS = 4555;
  const long NOTES_ERR_SERVER_MUST_BE_R5 = 4556;
  const long NOTES_ERR_NO_CREATE_REPLICA = 4557;
  const long NOTES_ERR_BAD_REPLICA_LIST = 4558;
  const long NOTES_ERR_MAIL_NOMOVE_SAMEPATH = 4559;
  const long NOTES_ERR_NOSUCH_ROAMINGUSER = 4560;
  const long NOTES_ERR_NOT_HIERARCHICAL_SERVER = 4561;
  const long NOTES_ERR_NOT_IN_SAME_DOMAIN = 4562;
  const long NOTES_ERR_ROAMING_NOMOVE_SAMEPATH = 4563;
  const long NOTES_ERR_INVALID_APPROVAL_REQUEST = 4564;
  const long NOTES_ERR_PERSON_NOT_FOUND = 4565;
  const long NOTES_ERR_XMLREFORMATTER_INPUT_OBJECT = 4566;
  const long NOTES_ERR_XMLREFORMATTER_OUTPUT_OBJECT = 4567;
  const long NOTES_ERR_FIRST_ARG_NOT_DOMNODE = 4568;
  const long NOTES_ERR_SECOND_ARG_NOT_DOMNODE = 4569;
  const long NOTES_ERR_NULL_DOMNODE = 4570;
  const long NOTES_ERR_UNSUPPORTED_PLATFORM_OP = 4571;
  const long NOTES_ERR_FIRST_ARG_NOT_ATTR_NODE = 4572;
  const long NOTES_ERR_FIXUP_FAILED = 4573;
  const long NOTES_ERR_NOTLOCAL_FIXUP = 4574;
  const long NOTES_ERR_MUST_BE_NOTESDATETIME = 4575;
  const long NOTES_ERR_DOM_OPERATION = 4576;
  const long NOTES_ERR_CANTHASH = 4577;
  const long NOTES_ERR_UNABLETOLOCK = 4578;
  const long NOTES_ERR_CANTLOCK_NOTEMODIFIED = 4579;
  const long NOTES_ERR_CANTUNLOCK = 4580;
  const long NOTES_ERR_DATATOOBIG = 4581;
  const long NOTES_ERR_DATATYPETOOBIG = 4582;
  const long NOTES_ERR_DATATYPENOMATCH = 4583;
  const long NOTES_ERR_XMLREFORMATTER_CONNECTION = 4584;
  const long NOTES_ERR_XMLREFORMATTER_FAILED = 4585;
  const long NOTES_ERR_ACL_ADMINREADERAUTHOR_FAILED = 4586;
  const long NOTES_ERR_ACL_ADMINNAMES_FAILED = 4587;
  const long NOTES_ERR_ADMINSERVER_FAILED = 4588;
  const long NOTES_ERR_COMPACT_I_REQ_C = 4589;
  const long NOTES_ERR_INVALID_VARIANT_DATATYPE = 4590;
  const long NOTES_ERR_COMPACT_INVALID_OPTION = 4591;
  const long NOTES_ERR_COMPACT_UNSUPPORTED_OPTION = 4592;
  const long NOTES_ERR_BADPWDCHKSETTING = 4593;
  const long NOTES_ERR_CANT_SIGN_DATABASE = 4594;
  const long NOTES_ERR_LOCKED = 4595;
  const long NOTES_ERR_INVALID_NAMELIST = 4596;
  const long NOTES_ERR_CANTCONNECT_MASTERLOCKDB = 4597;
  const long NOTES_ERR_NOMASTERLOCKDB_DOC = 4598;
  const long NOTES_ERR_NOMASTERLOCKDB_DESIGN = 4599;
  const long NOTES_ERR_INVALID_VALIDATION_OPTION = 4600;
  const long NOTES_ERR_DXLEXPORTER_FAILED = 4601;
  const long NOTES_ERR_DOMPARSER_FAILED = 4602;
  const long NOTES_ERR_SAXPARSER_FAILED = 4603;
  const long NOTES_ERR_XSLTRANSFORMER_FAILED = 4604;
  const long NOTES_ERR_EXTENDEDINFO_FAILED = 4605;
  const long NOTES_ERR_INVALID_DATERANGE = 4606;
  const long NOTES_ERR_ADMINSERVER_EXISTS = 4607;
  const long NOTES_ERR_SSOTOKEN_GEN = 4608;
  const long NOTES_ERR_SSOTOKEN_AUTH = 4609;
  const long NOTES_ERR_SSOCONFIG = 4610;
  const long NOTES_ERR_SSOTOKEN_INV = 4611;
  const long NOTES_ERR_SSOTOKEN_EXP = 4612;
  const long NOTES_ERR_SERVERCONFIG = 4613;
  const long NOTES_ERR_COOKIE_BADADDR = 4614;
  const long NOTES_ERR_COOKIE_EXP = 4615;
  const long NOTES_ERR_COOKIE_INV = 4616;
  const long NOTES_ERR_PREVIEW_RESTRICTED = 4617;
  const long NOTES_ERR_INCOMPATIBLE_VERSION = 4618;
  const long NOTES_ERR_SS_ALIEN_THREAD_ACCESS = 4619;
  const long NOTES_ERR_SS_TEXTLINE_TOO_LONG = 4620;
  const long NOTES_ERR_SS_INCOMPATIBLE_CHARSETS = 4621;
  const long NOTES_ERR_INVALID_DBSIZE = 4622;
  const long NOTES_ERR_NOSUCH_DESIGN = 4623;
  const long NOTES_ERR_EMBED_IN_PROGRESS = 4624;
  const long NOTES_ERR_EMBED_NOT_STARTED = 4625;
  const long NOTES_ERR_INVALID_RESOLVER_RETVAL = 4626;
  const long NOTES_ERR_DB_MARKED_FOR_DELETE = 4627;
  const long NOTES_ERR_NOTE_NOT_IN_DATABASE = 4628;
  const long NOTES_ERR_CANNOT_SERIALIZE_DOM_TREE = 4629;
  const long NOTES_ERR_NO_CLUSTER_DB = 4630;
  const long NOTES_ERR_NEGATIVE_VALUE = 4631;
  const long NOTES_ERR_USER_NO_SERVER = 4632;
  const long NOTES_ERR_DELETE_NET_USER_FALIED = 4633;
  const long NOTES_ERR_NULL_SERVER_NAME = 4634;
  const long NOTES_ERR_INVALID_VIEW_TEMPLATE = 4635;
  const long NOTES_ERR_ILLEGAL_SERVER_NAME = 4636;
  const long NOTES_ERR_NOT_A_DATE_ITEM = 4637;
  const long NOTES_ERR_RTTBL_BADCOLWIDTH = 4638;
  const long NOTES_ERR_INVALID_RECEIVEDITEM = 4639;
  const long NOTES_ERR_NORECEIVEDITEM = 4640;
  const long NOTES_ERR_DOMOP_INDEX_SIZE = 4641;
  const long NOTES_ERR_DOMOP_XMLSTRING_SIZE = 4642;
  const long NOTES_ERR_DOMOP_HIERARCHY_REQUEST = 4643;
  const long NOTES_ERR_DOMOP_WRONG_DOCUMENT = 4644;
  const long NOTES_ERR_DOMOP_INVALID_CHARACTER = 4645;
  const long NOTES_ERR_DOMOP_NO_DATA_ALLOWED = 4646;
  const long NOTES_ERR_DOMOP_NO_MODIFY_ALLOWED = 4647;
  const long NOTES_ERR_DOMOP_NOT_FOUND = 4648;
  const long NOTES_ERR_DOMOP_NOT_SUPPORTED = 4649;
  const long NOTES_ERR_DOMOP_INUSE_ATTRIBUTE = 4650;
  const long NOTES_ERR_DOMOP_INVALID_STATE = 4651;
  const long NOTES_ERR_DOMOP_SYNTAX = 4652;
  const long NOTES_ERR_DOMOP_INVALID_MODIFICATION = 4653;
  const long NOTES_ERR_DOMOP_NAMESPACE = 4654;
  const long NOTES_ERR_DOMOP_INVALID_ACCESS = 4655;
  const long NOTES_ERR_NOSUCH_DBSIGN = 4656;
  const long NOTES_ERR_FORMEDIT_FAILED = 4657;
  const long NOTES_ERR_ME_DUPLICATEXNOTES_NAME = 4658;
  const long NOTES_ERR_ME_MISSINGXNOTES_NAME = 4659;
  const long NOTES_ERR_NO_OLECONTEXT = 4660;
  const long NOTES_ERR_CANTSIGN_BYNAME = 4661;
  const long NOTES_ERR_ADMINSERVER_NEXIST = 4662;
  const long NOTES_ERR_COMPACT_I_REQ_C = 4663;
  const long NOTES_ERR_UNDELETENONPOSITIVEVALUE = 4664;
  const long NOTES_ERR_XML_PROCESS_ERROR = 4665;
  const long NOTES_ERR_XML_PIPELINE_LOOP_ERROR = 4666;
  const long NOTES_ERR_STREAM_HAS_BEEN_USED = 4667;
  const long NOTES_ERR_STREAM_HAS_MIXED_CONTENT = 4668;
  const long NOTES_ERR_XML_PROCESSOR_CANNOT_BE_USED = 4669;
  const long NOTES_ERR_DB_BADINDEXFREQUENCY = 4672;
  const long NOTES_ERR_LONG_OVERFLOW = 4673;
  const long NOTES_ERR_INVALID_CREDEL_TEMPLATE = 4674;
  const long NOTES_ERR_BADPLCYSETSTYPE = 4675;
  const long NOTES_ERR_CANTRETNOTEID = 4677;
  const long NOTES_ERR_STALE_COLLECTION = 4678;
  const long NOTES_ERR_EXTENDEDACCESS_FAILED = 4679;
  const long NOTES_ERR_UNIFORM_FAILED_EA = 4680;
  const long NOTES_ERR_NOTEIDFIND_FAILED = 4681;
  const long NOTES_ERR_NOFIXUP_CURRDB = 4682;
  const long NOTES_ERR_NOT_AN_URLDB = 4683;
  const long NOTES_ERR_RTNAV_USE_FINDSTRING = 4684;
  const long NOTES_ERR_UNINITIALIZED_STRUCT =  4685
  const long NOTES_ERR_UNINITIALIZED_REMOTE_OBJ =  4686
  const long NOTES_ERR_NEVER_SUPPORTED =  4687
  const long NOTES_ERR_SS_TRUNCATION_FAILED =  4688
  const long NOTES_ERR_NEED_STREAM =  4689
  const long NOTES_ERR_SS_IO_FAILED =  4690
  const long NOTES_ERR_NO_MEMBERS_REFRESHED =  4691
  const long NOTES_ERR_SS_NO_LOCAL_STREAM_REPLACE =  4692
  const long NOTES_ERR_SS_NO_LOCAL_STREAM_CLOSE =  4693
  const long NOTES_ERR_SS_NO_LOCAL_STREAM_OPEN =  4694
  const long NOTES_ERR_SS_MAX_SPACE_EXCEEDED =  4695
  const long NOTES_ERR_DOCUMENTCOLLECTION_MISSING =  4696
  const long NOTES_ERR_NOTECOLLECTION_MISSING =  4697
  const long NOTES_ERR_LAST_ERROR = 4697;
}; /* end NotesError */

Language cross-reference

@Error function in formula language

@Failure function in formula language

@IsError function in formula language

Handling run-time errors in LotusScript®