com.gridsystems.gridexception
Class GridException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.gridsystems.gridexception.GridException
All Implemented Interfaces:
java.io.Serializable

public class GridException
extends java.lang.Exception

Title: GridException. Description: Excepcion que encapsula un mensaje y parametros adicionales del mensaje Copyright: Copyright (c) 2003 Company: GridSystems SA

Version:
1.0
Author:
Xmas
See Also:
Serialized Form

Constructor Summary
GridException(java.lang.String code)
          Constructor.
GridException(java.lang.String code, java.lang.String[] params)
          Constructor.
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String getMessage()
           
 java.lang.String[] getParams()
           
 java.lang.String toString()
          Converts the exception to a string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridException

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

Parameters:
code - the exception code
params - the exception parameters

GridException

public GridException(java.lang.String code)
Constructor.

Parameters:
code - the exception code
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable
Returns:
the exception message

getParams

public java.lang.String[] getParams()
Returns:
the exception parameters.

getCode

public java.lang.String getCode()
Returns:
the exception code.

toString

public java.lang.String toString()
Converts the exception to a string.

Overrides:
toString in class java.lang.Throwable
Returns:
the string form of the exception


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