com.gridsystems.innergrid.api
Class CKernelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by com.gridsystems.innergrid.kernel.KernelException
                          extended by com.gridsystems.innergrid.api.CKernelException
All Implemented Interfaces:
Kernelizable, java.io.Serializable

public class CKernelException
extends KernelException

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:

Version:
1.0
Author:
Rodrigo Ruiz
See Also:
Serialized Form

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

CKernelException

public CKernelException(java.lang.String code)
Creates a new instance without parameters and cause.

Parameters:
code - a string with the error code

CKernelException

public CKernelException(java.lang.String code,
                        java.lang.Throwable cause)
Deprecated. Use CKernelException(Throwable, String, String...) instead

Creates a new instance.

Parameters:
code - a string with the error code
cause - a string with the error cause

CKernelException

public CKernelException(java.lang.String code,
                        java.lang.String... params)
Creates a new instance without cause.

Parameters:
code - a string with the error code
params - an array of string with the message parameters

CKernelException

public CKernelException(java.lang.String code,
                        java.lang.String[] params,
                        java.lang.Throwable cause)
Deprecated. Use CKernelException(Throwable, String, String...) instead

Creates a new instance.

Parameters:
code - a string with the error code
params - an array of string with the message parameters
cause - a string with the error cause

CKernelException

public CKernelException(java.lang.Throwable cause,
                        java.lang.String code,
                        java.lang.String... params)
Creates a new instance.

Parameters:
cause - a string with the error cause
code - a string with the error code
params - an array of string with the message parameters


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.