Skip to content
Snippets Groups Projects
Commit e703c6f6 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

Added BadAlloc exception and finished AcceptConnectionInterrupted

parent 62fa967e
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@ char *sys_serrlist[SEMAXERR-SEBASEOFF+2]=
"Invalid number of arguments",
"Already initialized",
"Command line not parsed",
"Accept connection was interrupted",
"Failed to allocate memory",
"BAD ERROR NUMBER"
};
......
......@@ -82,9 +82,10 @@
#define SEINVALIDNBARGS SEBASEOFF+48 /* Invalid number of arguments */
#define SEALREADYINIT SEBASEOFF+49 /* Already initialized */
#define SECMDLNNOTPRSD SEBASEOFF+50 /* Command line not parsed */
#define SEACCPTCONNINTR SEBASEOFF+51 /* castor::io::acceptConnection() was interrupted */
#define SEACCPTCONNINTR SEBASEOFF+51 /* Accept connection was interrupted */
#define SEBADALLOC SEBASEOFF+52 /* Failed to allocate memory */
#define SEMAXERR SEBASEOFF+51 /* Maximum error number */
#define SEMAXERR SEBASEOFF+52 /* Maximum error number */
#define SERRNO (serrno - SEBASEOFF) /* User convenience */
/*
......
......@@ -205,6 +205,12 @@ The following error values might be returned by any package:
.TP
.B SECMDLNNOTPRSD
(1050) Command line not parsed
.TP
.B SEACCPTCONNINTR
(1051) Accept connection was interrupted
.TP
.B SEBADALLOC
(1052) Failed to allocate memory
.SH COPYTAPE ERRORS
None yet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment