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

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

public class TemplateException
extends Exception

Exception which is thrown when any error in templates occurrs.

Author:
AGH CAST Team
See Also:
Serialized Form

Constructor Summary
TemplateException(String msg)
          Constructor.
TemplateException(String msg, Exception e)
          Constructor.
TemplateException(String msg, IImportTemplate template)
          Constructor.
TemplateException(String msg, IImportTemplate template, Exception e)
          Constructor.
TemplateException(String msg, ImportTemplateGroup group)
          Constructor.
TemplateException(String msg, ImportTemplateGroup group, Exception e)
          Constructor.
 
Method Summary
 ImportTemplateGroup getGroup()
           
 IImportTemplate 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

TemplateException

public TemplateException(String msg)
Constructor.

Parameters:
msg - exception message

TemplateException

public TemplateException(String msg,
                         Exception e)
Constructor.

Parameters:
msg - exception message
e - exception cause

TemplateException

public TemplateException(String msg,
                         IImportTemplate template,
                         Exception e)
Constructor.

Parameters:
msg - exception message
template - import template on which an error occurred
e - exception cause

TemplateException

public TemplateException(String msg,
                         IImportTemplate template)
Constructor.

Parameters:
msg - exception message
template - import template on which an error occurred

TemplateException

public TemplateException(String msg,
                         ImportTemplateGroup group,
                         Exception e)
Constructor.

Parameters:
msg - exception message
group - import template on which an error occurred
e - exception cause

TemplateException

public TemplateException(String msg,
                         ImportTemplateGroup group)
Constructor.

Parameters:
msg - exception message
group - import template on which an error occurred
Method Detail

getTemplate

public IImportTemplate getTemplate()

getGroup

public ImportTemplateGroup getGroup()


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