cz.cuni.amis.pogamut.base.communication.parser.exception
Class ParserException

Package class diagram package ParserException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by cz.cuni.amis.utils.exception.PogamutException
                  extended by cz.cuni.amis.utils.exception.PogamutIOException
                      extended by cz.cuni.amis.pogamut.base.communication.exception.CommunicationException
                          extended by cz.cuni.amis.pogamut.base.communication.parser.exception.ParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ParserEOFException

public class ParserException
extends CommunicationException

To be used by IParser implementors.

Author:
Jimmy
See Also:
Serialized Form

Constructor Summary
ParserException(String message, Logger log, Object origin)
          Constructs a new exception with the specified detail message.
ParserException(String message, Object origin)
          Constructs a new exception with the specified detail message.
ParserException(String message, Throwable cause, Logger log, Object origin)
          Constructs a new exception with the specified detail message and cause.
ParserException(String message, Throwable cause, Object origin)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class cz.cuni.amis.utils.exception.PogamutException
getOrigin, isLogged, logException, logExceptionOnce, setLogged, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserException

public ParserException(String message,
                       Object origin)
Constructs a new exception with the specified detail message.

Not logging anything anywhere on its own.

Parameters:
message -
origin - which object does produced the exception

ParserException

public ParserException(String message,
                       Throwable cause,
                       Object origin)
Constructs a new exception with the specified detail message and cause.

Not logging anything anywhere on its own.

Parameters:
message -
cause -
origin - which object does produced the exception

ParserException

public ParserException(String message,
                       Logger log,
                       Object origin)
Constructs a new exception with the specified detail message.

Logs the exception via specified Logger.

Parameters:
message -
log -
origin - which object does produced the exception

ParserException

public ParserException(String message,
                       Throwable cause,
                       Logger log,
                       Object origin)
Constructs a new exception with the specified detail message and cause.

Logs the exception via specified Logger.

Parameters:
message -
cause -
origin - which object does produced the exception


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.