00001 #include "dependentdataexception.h"
00002
00003 using namespace domain;
00004
00005 DependentDataException::DependentDataException(QList<StorableData*> data) :
00006 StringException("Can't remove because of depending data."), data(data)
00007 {
00008 }
00009
00010 DependentDataException::~DependentDataException() throw()
00011 {
00012 }
00013
00014 QList<StorableData*> DependentDataException::dependentData()
00015 {
00016 return data;
00017 }