info.informatica.data.field
Class DataFieldException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by info.informatica.data.DataException
              extended by info.informatica.data.field.DataFieldException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FieldSizeException

public class DataFieldException
extends DataException

Data Field Exception.

Author:
amengual at informatica dot info
See Also:
Serialized Form

Constructor Summary
DataFieldException()
          Constructor
DataFieldException(String s)
          Constructor.
DataFieldException(String code, FieldName fieldname)
          Constructor.
DataFieldException(String s, String code, FieldName fieldname)
          Constructor.
DataFieldException(String s, String code, FieldName fieldname, Throwable t)
           
DataFieldException(String s, Throwable t)
          Constructor.
 
Method Summary
 String getDatasourceName()
           
 FieldName getFieldName()
           
 String getLocalizedMessage()
           
 String getLocalizedMessage(Locale loc)
           
 String getMessageCode()
           
 void setDatasourceName(String datasourceName)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataFieldException

public DataFieldException()
Constructor


DataFieldException

public DataFieldException(String s)
Constructor.

Parameters:
s - error description.

DataFieldException

public DataFieldException(String s,
                          Throwable t)
Constructor.

Parameters:
s - error description.

DataFieldException

public DataFieldException(String code,
                          FieldName fieldname)
Constructor.

Parameters:
code - error code
fieldname - field name

DataFieldException

public DataFieldException(String s,
                          String code,
                          FieldName fieldname)
Constructor.

Parameters:
s - error description.
fieldname - field name

DataFieldException

public DataFieldException(String s,
                          String code,
                          FieldName fieldname,
                          Throwable t)
Method Detail

getFieldName

public FieldName getFieldName()

getMessageCode

public String getMessageCode()

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

getLocalizedMessage

public String getLocalizedMessage(Locale loc)

getDatasourceName

public String getDatasourceName()

setDatasourceName

public void setDatasourceName(String datasourceName)