org.abstracthorizon.mercury.imap.util
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.abstracthorizon.mercury.imap.util.ParserException
All Implemented Interfaces:
Serializable

public class ParserException
extends Exception

Parser exception

Author:
Daniel Sendula
See Also:
Serialized Form

Constructor Summary
ParserException()
          Constructor
ParserException(boolean missing, String msg)
          Constructor
ParserException(String msg)
          Constructor
 
Method Summary
protected static String compose(boolean missing, String msg)
          Composes string
 
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

ParserException

public ParserException()
Constructor


ParserException

public ParserException(String msg)
Constructor

Parameters:
msg - message

ParserException

public ParserException(boolean missing,
                       String msg)
Constructor

Parameters:
missing - is missing keyword exception
msg - keyword
Method Detail

compose

protected static String compose(boolean missing,
                                String msg)
Composes string

Parameters:
missing - is missing keyword or should this method just return message
msg - keyword or message
Returns:
composed stirng


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.