Class MimeParseEventException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.james.mime4j.MimeException
              extended by org.apache.james.mime4j.parser.MimeParseEventException
All Implemented Interfaces:

public class MimeParseEventException
extends MimeException

Indicates that strict parsing has been enabled and an optional invality has been found in the input. getEvent() indicates the type of invalidity.

See Also:
Serialized Form

Constructor Summary
MimeParseEventException(Event event)
          Constructs an exception
Method Summary
 Event getEvent()
          Gets the causal parse event.
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


public MimeParseEventException(Event event)
Constructs an exception

event - MimeTokenStream.Event, not null
Method Detail


public Event getEvent()
Gets the causal parse event.

MimeTokenStream.Event, not null

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.