Skip navigation links

Oracle Virtual Desktop Infrastructure Java API Reference
Release 3.5
E36505-01


com.sun.vda.client.ws.api
Class WebServiceClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.vda.client.ws.api.WebServiceClientException

All Implemented Interfaces:
java.io.Serializable

public class WebServiceClientException
extends java.lang.Exception

VDI web service exception.

See Also:
Serialized Form

Constructor Summary
WebServiceClientException(java.lang.String message)
           
WebServiceClientException(java.lang.String message, java.lang.Throwable t)
           
WebServiceClientException(java.lang.String message, java.lang.Throwable t, int clientExitCode)
           

 

Method Summary
 int getClientExitCode()
          Returns the exit code.
 java.lang.String getDetails()
          Returns possible details about the exception.
 void setClientExitCode(int clientExitCode)
           
 void setDetails(java.lang.String details)
           

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

WebServiceClientException

public WebServiceClientException(java.lang.String message,
                                 java.lang.Throwable t,
                                 int clientExitCode)

WebServiceClientException

public WebServiceClientException(java.lang.String message,
                                 java.lang.Throwable t)

WebServiceClientException

public WebServiceClientException(java.lang.String message)

Method Detail

setClientExitCode

public void setClientExitCode(int clientExitCode)

getClientExitCode

public int getClientExitCode()
Returns the exit code.

Possible exit codes are:

0 - Success
1 - Error
2 - Service unavailable
3 - Invalid command
4 - Invalid parameter
15 - No preferred servers found
20 - Authentication failed
21 - Password expired
22 - Password change required
23 - Password change not allowed
24 - Passwords do not match
25 - Company not found
26 - Not authenticated
27 - Password change failed
40 - No desktops assigned
41 - No desktops available
42 - Desktop startup failed
43 - Desktop connection failed
Returns:
the exit code

getDetails

public java.lang.String getDetails()
Returns possible details about the exception.
Returns:
a string giving more details about the exception.

setDetails

public void setDetails(java.lang.String details)

Skip navigation links

Oracle Virtual Desktop Infrastructure Java API Reference
Release 3.5
E36505-01


Copyright © 2011, 2013, Oracle and/or its affiliates. All rights reserved.