com.gridsystems.gridexception
Class GridException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
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 |
GridException
public GridException(java.lang.String code,
java.lang.String[] params)
- Constructor.
- Parameters:
code
- the exception codeparams
- the exception parameters
GridException
public GridException(java.lang.String code)
- Constructor.
- Parameters:
code
- the exception code
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.