com.gridsystems.innergrid.kernel
Class KernelUtils

java.lang.Object
  extended by com.gridsystems.innergrid.kernel.KernelUtils

public final class KernelUtils
extends java.lang.Object

Kernel Utilities.

Author:
Rodrigo Ruiz

Method Summary
static void process(java.lang.Exception e)
          Processes an exception, re-throwing it as a KernelException instance.
static KernelException translate(java.lang.Exception e)
          Translates an arbitrary exception into a KernelException one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translate

public static KernelException translate(java.lang.Exception e)
Translates an arbitrary exception into a KernelException one.

Parameters:
e - Source exception
Returns:
Translated exception

process

public static void process(java.lang.Exception e)
                    throws KernelException
Processes an exception, re-throwing it as a KernelException instance.

Parameters:
e - Source exception
Throws:
KernelException - Casted exception


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