com.gridsystems.exceptions
Class IllegalValueException

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.kernel.IKernelException
                              extended by com.gridsystems.exceptions.IllegalValueException
All Implemented Interfaces:
com.gridsystems.innergrid.kernel.Kernelizable, java.io.Serializable
Direct Known Subclasses:
InvalidCharacterException, NullParameterException, StringTooLongException

public class IllegalValueException
extends com.gridsystems.innergrid.kernel.IKernelException

Invalid value exception.

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

Field Summary
 
Fields inherited from class com.gridsystems.innergrid.kernel.IKernelException
locale
 
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
IllegalValueException(java.lang.String name, java.lang.String[] params)
          Constructor.
IllegalValueException(java.lang.String code, java.lang.String name, java.lang.String[] params)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Gets the name of the value that is invalid.
 
Methods inherited from class com.gridsystems.innergrid.kernel.IKernelException
getMessage, getPattern, getPattern
 
Methods inherited from class com.gridsystems.innergrid.kernel.KernelException
fromRemoteException, getCode, getNamespace, getParams, 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

IllegalValueException

public IllegalValueException(java.lang.String name,
                             java.lang.String[] params)
Constructor.

Parameters:
name - a String with the name of the value that is invalid.
params - a String[] with the list of params to use to parse the error message.

IllegalValueException

public IllegalValueException(java.lang.String code,
                             java.lang.String name,
                             java.lang.String[] params)
Constructor.

Parameters:
code - a String with the code to assign to the Exception.
name - a String with the name of the value that is invalid.
params - a String[] with the list of params to use to parse the error message.
Method Detail

getName

public java.lang.String getName()
Gets the name of the value that is invalid.

Returns:
a String with the name of the value that is invalid. It can be null.


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