pl.edu.agh.cast.rawdata.stat
Class ErrorInfo

java.lang.Object
  extended by pl.edu.agh.cast.rawdata.stat.ErrorInfo

public class ErrorInfo
extends Object

Represents information about cell error. Should be connected with one cell. Can contain parameters connected with one cell (eg. row & column number)

Author:
AGH CAST Team

Constructor Summary
ErrorInfo(ErrorType type)
          Constructor with given error type.
ErrorInfo(ErrorType type, String[] params)
          Constructor with given error type and parameters.
ErrorInfo(ErrorType type, String[] params, DataRow relatedRow)
          Constructor with given error, parameters and related row.
 
Method Summary
 String getMessage()
          Returns localised error description.
 DataRow getRelatedRow()
           
 ErrorSeverity getSeverity()
           
 ErrorType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfo

public ErrorInfo(ErrorType type)
Constructor with given error type.

Parameters:
type - error type

ErrorInfo

public ErrorInfo(ErrorType type,
                 String[] params)
Constructor with given error type and parameters.

Parameters:
type - error type
params - parameters table

ErrorInfo

public ErrorInfo(ErrorType type,
                 String[] params,
                 DataRow relatedRow)
Constructor with given error, parameters and related row.

Parameters:
type - error type
params - parameters table
relatedRow - related row
Method Detail

getMessage

public String getMessage()
Returns localised error description.

Returns:
localised error description.

getSeverity

public ErrorSeverity getSeverity()

getType

public ErrorType getType()

getRelatedRow

public DataRow getRelatedRow()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.