mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 06:35:28 +02:00
[226074] process for getStatus() API
This commit is contained in:
parent
2a1ebc9416
commit
9199cca7a9
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
* David McKnight (IBM) [224906] [dstore] changes for getting properties and doing exit due to single-process capability
|
||||
* Jacob Garcowski (IBM) [225175] [dstore] error handling change for Client
|
||||
* David McKnight (IBM) - [225507][api][breaking] RSE dstore API leaks non-API types
|
||||
* Noriaki Takatsu (IBM) - [226074] process for getStatus() API
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.dstore.core.server;
|
||||
|
@ -400,6 +401,7 @@ public class ConnectionEstablisher
|
|||
if (_serverSocket == null)
|
||||
{
|
||||
System.err.println(ServerReturnCodes.RC_BIND_ERROR);
|
||||
_msg = ServerReturnCodes.RC_BIND_ERROR;
|
||||
_continue = false;
|
||||
}
|
||||
else
|
||||
|
@ -434,21 +436,25 @@ public class ConnectionEstablisher
|
|||
catch (UnknownHostException e)
|
||||
{
|
||||
System.err.println(ServerReturnCodes.RC_UNKNOWN_HOST_ERROR);
|
||||
_msg = ServerReturnCodes.RC_UNKNOWN_HOST_ERROR;
|
||||
_continue = false;
|
||||
}
|
||||
catch (BindException e)
|
||||
{
|
||||
System.err.println(ServerReturnCodes.RC_BIND_ERROR);
|
||||
_msg = ServerReturnCodes.RC_BIND_ERROR;
|
||||
_continue = false;
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
System.err.println(ServerReturnCodes.RC_GENERAL_IO_ERROR);
|
||||
_msg = ServerReturnCodes.RC_GENERAL_IO_ERROR;
|
||||
_continue = false;
|
||||
}
|
||||
catch (SecurityException e)
|
||||
{
|
||||
System.err.println(ServerReturnCodes.RC_SECURITY_ERROR);
|
||||
_msg = ServerReturnCodes.RC_SECURITY_ERROR;
|
||||
_continue = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue