All Downloads are FREE. Search and download functionalities are using the official Maven repository.

urento-commons.6.4.0.source-code.kurento-error-codes.properties Maven / Gradle / Ivy

# KURENTO EXCEPTIONS DEFINITION 
#
# The structure for each entry in this file is the following:
# errorCode=error description;httpErrorCode;jsonRpcErrorCode
#
# Where:
# - errorCode: kurento error code. 
# -- From 10000 to 19999 is reserved to usage exceptions
# -- From 20000 to 29999 is reserved to internal exceptions
# - httpErrorCode: HTTP error code mapping (see: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
# -- 4xx: used for user exceptions
# -- 5xx: used for server exceptions
# - jsonRpcErrorCode: JSON RPC error code mapping (see: http://www.jsonrpc.org/specification)
#
# The first code for user and server exception (10000 and 20000) are generic. These exception
# should be used only for general purposes, for fine grained descriptions, a new exception code should be defined


#No error
0=No error;200;0

#Default error
1=Internal kurento server error;500;-32400

#Standard HTTP error codes are supported so that final developers can use them given that they are well known
100=Continue;100;0
101=Switching Protocols;101;0
200=OK;200;0
201=Created;201;0
202=Accepted;202;0
203=Non-Authoritative Information;203;0
204=No Content;204;0
205=Reset Content;205;0
206=Partial Content;206;0
300=Multiple Choices;300;0
301=Moved Permanently;301;0
302=Found;302;0
303=See Other;303;0
304=Not Modified;304;0
305=Use Proxy;305;0
306=Unused;306;0
307=Temporary Redirect;307;0
400=Bad Request;400;-32500
401=Unauthorized;401;-32500
402=Payment Required;402;-32500
403=Forbidden;403;-32500
404=Not Found;404;-32601
405=Method Not Allowed;405;-32500
406=Not Acceptable;406;-32500
407=Proxy Authentication Required;407;-32500
408=Request Timeout;408;-32500
409=Conflict;409;-32500
410=Gone;410;-32500
411=Length Required;411;-32500
412=Precondition Failed;412;-32500
413=Request Entity Too Large;413;-32500
414=Request-URI Too Long;414;-32500
415=Unsupported Media Type;415;-32500
416=Requested Range Not Satisfiable;416;-32500
417=Expectation Failed;417;-32500
500=Internal Server Error;500;-32400
501=Not Implemented;501;-32400
502=Bad Gateway;502;-32400
503=Service Unavailable;503;-32400
504=Gateway Timeout;504;-32400
505=HTTP Version Not Supported;505;-32400

#Exception thrown by handler implementation code
9999=Exception thrown by handler implementation code;500;-32400

# Usage errors
10000=Unsupported request;400;-32600
10001=Illegal state;403;-32603
10002=Invalid request;405;-32602
10003=Invalid request;405;-32602
10004=Illegal state;500;-32400
10005=Invalid message argument;406;-32602
10006=Illegal state;403;-32603
10007=Invalid message;405;-32601
10008=Invalid message;405;-32601
10009=Invalid message;405;-32601
10010=Invalid message;405;-32601
10011=Illegal state;403;-32603
10012=Invalid message;405;-32601
10013=Invalid message;406;-32602
10014=Illegal argument;500;-32603
10015=Illegal argument;500;-32603
10016=Illegal argument;500;-32500
10017=Illegal argument;500;-32500
10018=Illegal argument;500;-32500
10019=Free slot;500;-32500
10020=Invalid message;400;-32700
10021=Invalid message;400;-32602
10022=Handler exception;500;-32500 
10023=Illegal argument;500;-32500
10024=Illegal argument;500;-32500
10025=Handler exception;500;-32500 
10026=Lack of implementation;400;-32600
10027=Illegal argument;500;-32500
10028=Illegal argument;500;-32500
10029=Illegal event type;406;-32602
10030=Illegal argument;500;-32500

# Internal framework errors
20000=Internal Server Error;500;-32603
20001=Free slot ;501;-32602
20002=Free slot;503;-32600
20003=HttpEndPoint error;503;-32600
20004=Exception in redirect;503;-32600
20005=Exception in JSON protocol configuration;503;-32600
20006=Exception getting URL from HttpEndPoint;503;-32600
20007=Exception building media end point and returning SDP;503;-32600
20008=Received invalid null SDP from media server;503;-32600
20009=Received invalid empty SDP from media server;503;-32600
20010=Exception sending JSON answer;503;-32600
20011=Server overloaded;503;-32000
20012=Invalid URL provided by HttpEndPoint;500;-32400
20013=Error activating HTTP content response;500;-32400
20014=Free slot;500;-32400
20015=Unknown error in servlet AsyncContext;500;-32400
20016=IOException reading JsonRPC request;500;-32300
20017=Cannot recover servlet AsyncContext for sending JsonRpc answer;500;-32400
20018=IOException sending JsonRPC answer;500;-32300
20019=Error in StreamingProxy;500;-32400
20020=Free slot;500;-32603
20021=Error connecting media elements;500;-32400
20022=Error releasing media object;500;-32400
20025=Error in StreamingProxy: thread has been interrupted;500;-32400
20026=IOException sending HTTP Error Report;500;-32300
20027=Received invalid null SDP from media server;503;-32600
20028=Received invalid empty SDP from media server;503;-32600
20029=Error starting Media Element in SDP-based session;500;-32400
20030=Error starting HTTP Player with Content Path;500;-32400
20031=Error starting HTTP Player with Media Element;500;-32400
20034=IOException performing play in HTTP Player;500;-32400
20035=IOException recovering media pipeline in HTTP Player;500;-32400
20036=Media Server Exception recovering media pipeline in HTTP Player;500;-32400
20039=Error starting HTTP Recorder with Content Path;500;-32400
20040=Error starting HTTP Recorder with Media Elements;500;-32400
20041=Error starting HTTP Recorder with sink Media Element;500;-32400

#Media server error
30000=Todo;500;-32400





© 2015 - 2025 Weber Informatics LLC | Privacy Policy