org.apache.james.mime4j.parser
Class MimeParseEventException

java.lang.Object
  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:
java.io.Serializable

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

MimeParseEventException

public MimeParseEventException(Event event)
Constructs an exception

Parameters:
event - MimeTokenStream.Event, not null
Method Detail

getEvent

public Event getEvent()
Gets the causal parse event.

Returns:
MimeTokenStream.Event, not null


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