pt.moredata.fglreport
Class FglReportException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bypt.moredata.fglreport.FglReportException
All Implemented Interfaces:
java.io.Serializable

public class FglReportException
extends java.lang.RuntimeException

Title: FglReportException

Description: Classe usada para as excepcões do package FglReport Copyright:

     Copyright (C) 2002  Moredata

     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     as published by the Free Software Foundation; either version 2
     of the License, or (at your option) any later version.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc, 59 Temple Place-Suite 330, Boston, MA 02111-1307, USA.
     

Company : Moredata

Version:
: $Revision: 1.2 $ Revision $Revision: 1.2 $ $Date: 2003/05/13 18:06:46 $ $Author: aricardo $ $Log: FglReportException.java,v $ Revision 1.2 2003/05/13 18:06:46 aricardo + documentação de todas a classes do fglreport Revision 1.1.1.1 2003/04/25 12:47:59 pcarmo Migracao do projecto 'src' deste repositorio apos a reorganizacao da estrutura de directorias do projecto.
Author:
: Sérgio Ferreira, : Luis Medalhas
See Also:
Serialized Form

Field Summary
static int DUPLICATE_PK
          Exception ocurred due to primary key duplication
 int exceptionType
          Tipo de excepções do FglReport
static int NONE
          Constante que define a ausência de excepção
 java.lang.String specificMessage
          Mensagem a imprimir
 
Constructor Summary
FglReportException(java.lang.String message)
          Excepções do FglReport
FglReportException(java.lang.String message, java.lang.String _specificMessage, int _exceptionType)
          Excepção com afectação de tipo para tratamento adequado
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

specificMessage

public java.lang.String specificMessage
Mensagem a imprimir


exceptionType

public int exceptionType
Tipo de excepções do FglReport


NONE

public static final int NONE
Constante que define a ausência de excepção

See Also:
Constant Field Values

DUPLICATE_PK

public static final int DUPLICATE_PK
Exception ocurred due to primary key duplication

See Also:
Constant Field Values
Constructor Detail

FglReportException

public FglReportException(java.lang.String message)
Excepções do FglReport

Parameters:
message - Texto a imprimir

FglReportException

public FglReportException(java.lang.String message,
                          java.lang.String _specificMessage,
                          int _exceptionType)
Excepção com afectação de tipo para tratamento adequado

Parameters:
message - Variável para invocar a construtora da classe RuntimeException
_specificMessage - Mensagem a visualizar
_exceptionType - Tipo de excepção