pl.edu.agh.cast.importer.base.template.exception
Class ReadingTemplatesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pl.edu.agh.cast.importer.base.template.exception.TemplateException
              extended by pl.edu.agh.cast.importer.base.template.exception.ReadingTemplatesException
All Implemented Interfaces:
Serializable

public class ReadingTemplatesException
extends TemplateException

An exception which is thrown during reading template process. It contains already read templates which can be used to recover correct data.

Author:
AGH CAST Team
See Also:
Serialized Form

Constructor Summary
ReadingTemplatesException(String msg)
          Constructor.
ReadingTemplatesException(String msg, Collection<IImportTemplate> templates)
          Constructor.
ReadingTemplatesException(String msg, Collection<IImportTemplate> templates, Collection<ImportTemplateGroup> groups, Collection<? extends Exception> exceptions)
          Constructor.
ReadingTemplatesException(String msg, Collection<IImportTemplate> templates, Collection<ImportTemplateGroup> groups, Exception e)
          Constructor.
ReadingTemplatesException(String msg, Exception e)
          Constructor.
 
Method Summary
 Collection<? extends Exception> getExceptions()
           
 Collection<ImportTemplateGroup> getGroups()
           
 Collection<IImportTemplate> getTemplates()
           
 
Methods inherited from class pl.edu.agh.cast.importer.base.template.exception.TemplateException
getGroup, getTemplate
 
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
 

Constructor Detail

ReadingTemplatesException

public ReadingTemplatesException(String msg)
Constructor.

Parameters:
msg - exception message

ReadingTemplatesException

public ReadingTemplatesException(String msg,
                                 Exception e)
Constructor.

Parameters:
msg - exception message
e - exception cause

ReadingTemplatesException

public ReadingTemplatesException(String msg,
                                 Collection<IImportTemplate> templates)
Constructor.

Parameters:
msg - exception message
templates - the collection of already read templates

ReadingTemplatesException

public ReadingTemplatesException(String msg,
                                 Collection<IImportTemplate> templates,
                                 Collection<ImportTemplateGroup> groups,
                                 Exception e)
Constructor.

Parameters:
msg - exception message
templates - the collection of already read templates
groups - the collection of already read groups
e - exception cause

ReadingTemplatesException

public ReadingTemplatesException(String msg,
                                 Collection<IImportTemplate> templates,
                                 Collection<ImportTemplateGroup> groups,
                                 Collection<? extends Exception> exceptions)
Constructor.

Parameters:
msg - exception message
templates - the collection of already read templates
groups - the collection of already read groups
exceptions - exceptions which occurred during reading templates
Method Detail

getTemplates

public Collection<IImportTemplate> getTemplates()

getGroups

public Collection<ImportTemplateGroup> getGroups()

getExceptions

public Collection<? extends Exception> getExceptions()


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