at.ac.tuwien.infosys.sm4all.copal.api.xml
Class MissingFieldException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.infosys.sm4all.copal.api.ContextException
              extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.MalformedDocumentException
                  extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.ParsingException
                      extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.MissingFieldException
All Implemented Interfaces:
Serializable

public class MissingFieldException
extends ParsingException

Exception for when parsing a Document representing a XMLContextEvent is missing a required field. Field can be any Node in the Document.

Author:
sanjin
See Also:
Serialized Form

Constructor Summary
MissingFieldException(String name)
          Creates exception with specified name of missing field.
MissingFieldException(String name, Throwable cause)
          Creates exception with specified name of missing field and cause exception.
 
Method Summary
 
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

MissingFieldException

public MissingFieldException(String name)
Creates exception with specified name of missing field.

Parameters:
name - the name of missing field.

MissingFieldException

public MissingFieldException(String name,
                             Throwable cause)
Creates exception with specified name of missing field and cause exception.

Parameters:
name - the name of missing field.
cause - the cause exception of the parsing problem.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.