net.sf.farrago.catalog
Class FarragoReposIntegrityErr

java.lang.Object
  extended by net.sf.farrago.catalog.FarragoReposIntegrityErr

public class FarragoReposIntegrityErr
extends Object

FarragoReposIntegrityErr records one integrity error detected by FarragoRepos.verifyIntegrity(javax.jmi.reflect.RefObject).

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/catalog/FarragoReposIntegrityErr.java#5 $
Author:
John V. Sichi

Field Summary
private  String description
           
private  JmiException exception
           
private  RefObject refObj
           
 
Constructor Summary
FarragoReposIntegrityErr(String description, JmiException exception, RefObject refObj)
           
 
Method Summary
 String getDescription()
           
 JmiException getJmiException()
           
 RefObject getRefObject()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

private final String description

exception

private final JmiException exception

refObj

private final RefObject refObj
Constructor Detail

FarragoReposIntegrityErr

public FarragoReposIntegrityErr(String description,
                                JmiException exception,
                                RefObject refObj)
Method Detail

getDescription

public String getDescription()
Returns:
description of the error

getJmiException

public JmiException getJmiException()
Returns:
underlying exception reported by JMI, or null if failed integrity rule was specific to Farrago

getRefObject

public RefObject getRefObject()
Returns:
object on which error was detected, or null if error is not specific to an object

toString

public String toString()
Overrides:
toString in class Object