Package org.apache.james.mime4j.stream
Class MimeParseEventException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.james.mime4j.MimeException
-
- org.apache.james.mime4j.stream.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
-
-
Field Summary
Fields Modifier and Type Field Description private Event
event
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MimeParseEventException(Event event)
Constructs an exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event
getEvent()
Gets the causal parse event.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
event
private final Event event
-
-
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
-
-