|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException java.rmi.RemoteException org.apache.axis.AxisFault com.gridsystems.innergrid.kernel.KernelException com.gridsystems.innergrid.api.CKernelException
public class CKernelException
KernelException that takes care of some codes that can only appear on the client side.
The following is a list of the client-side known codes and their meanings:
UNK000
Unknown Error
CLT000
Cannot connect to the Server
CLT001
Connection refused. Remote port is not open.
CLT002
Connection closed by Server
CLT003
Service not found in Server.
CLT004
Bean cannot be serialized by the Server.
CLT005
Bean used as a parameter could not be deserialized by the
Server
CLT006
Could not find the SOAP servlet in the remote Server; it may
not be an appropriate Server.
CLT007
Unknown client error
CLT008
Malformed URL
CLT009
Unknown error parsing response
CLT011
Null connection
CLT012
Null host
CLT013
Invalid port (negative or zero)
CLT014
A default connection must be defined, using
ConnectionProvider.setDefaultConnection()
CLT015
Interface implementation not found
CLT016
The method cannot be called statically. You need to instantiate
the class
CLT017
Connection parameter expected
CLT020
Attachment filename is not valid
CLT021
Attached file not found
CLT031
Certificate verification failed
CLT030
CA file cannot be read
CLT032
Keystore file cannot be read
CLT033
Keystore file is not valid, or the password is incorrect
CLT040
Method initialize(...)
must be called to define
the connection parameters
CLT041
Method setConnection(conn)
must be called to
define a connection for this API
CLT042
Method initialize(...)
cannot be called twice
CLT050
The active Server is down. Wait a few minutes for a backup
Server to become active, and try again.
CLT060
Port not answering; it could not be checked
CLT061
Incorrect protocol
CLT062
Cannot check port because a proper URL could not be created
CLT063
SSL Handshake Exception
Field Summary |
---|
Fields inherited from class com.gridsystems.innergrid.kernel.KernelException |
---|
msg, params, pattern |
Fields inherited from class org.apache.axis.AxisFault |
---|
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log |
Fields inherited from class java.rmi.RemoteException |
---|
detail |
Constructor Summary | |
---|---|
CKernelException(java.lang.String code)
Creates a new instance without parameters and cause. |
|
CKernelException(java.lang.String code,
java.lang.String... params)
Creates a new instance without cause. |
|
CKernelException(java.lang.String code,
java.lang.String[] params,
java.lang.Throwable cause)
Deprecated. Use CKernelException(Throwable, String, String...) instead |
|
CKernelException(java.lang.String code,
java.lang.Throwable cause)
Deprecated. Use CKernelException(Throwable, String, String...) instead |
|
CKernelException(java.lang.Throwable cause,
java.lang.String code,
java.lang.String... params)
Creates a new instance. |
Method Summary |
---|
Methods inherited from class com.gridsystems.innergrid.kernel.KernelException |
---|
fromRemoteException, getCode, getMessage, getNamespace, getParams, getPattern, hasCode, output, prepare, printStackTrace, printStackTrace, toKernelException, toString |
Methods inherited from class org.apache.axis.AxisFault |
---|
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, writeDetails |
Methods inherited from class java.rmi.RemoteException |
---|
getCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CKernelException(java.lang.String code)
code
- a string with the error codepublic CKernelException(java.lang.String code, java.lang.Throwable cause)
CKernelException(Throwable, String, String...)
instead
code
- a string with the error codecause
- a string with the error causepublic CKernelException(java.lang.String code, java.lang.String... params)
code
- a string with the error codeparams
- an array of string with the message parameterspublic CKernelException(java.lang.String code, java.lang.String[] params, java.lang.Throwable cause)
CKernelException(Throwable, String, String...)
instead
code
- a string with the error codeparams
- an array of string with the message parameterscause
- a string with the error causepublic CKernelException(java.lang.Throwable cause, java.lang.String code, java.lang.String... params)
cause
- a string with the error causecode
- a string with the error codeparams
- an array of string with the message parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |