Uses of Class
org.apache.james.mime4j.MimeException
Packages that use MimeException
Package
Description
-
Uses of MimeException in org.apache.james.mime4j
Methods in org.apache.james.mime4j that return MimeExceptionModifier and TypeMethodDescriptionMimeIOException.getCause()
Returns theMimeException
that caused thisMimeIOException
.Constructors in org.apache.james.mime4j with parameters of type MimeExceptionModifierConstructorDescriptionMimeIOException
(MimeException cause) Constructs an IO exception based onMimeException
. -
Uses of MimeException in org.apache.james.mime4j.dom
Methods in org.apache.james.mime4j.dom that throw MimeExceptionModifier and TypeMethodDescriptionstatic MessageServiceFactory
MessageServiceFactory.newInstance()
MessageBuilder.parseHeader
(InputStream source) MessageBuilder.parseMessage
(InputStream source) -
Uses of MimeException in org.apache.james.mime4j.dom.field
Subclasses of MimeException in org.apache.james.mime4j.dom.fieldModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field
Methods in org.apache.james.mime4j.field that throw MimeExceptionModifier and TypeMethodDescriptionstatic ParsedField
static ParsedField
DefaultFieldParser.parse
(String rawStr, DecodeMonitor monitor) Parses the given string and returns an instance of theParsedField
class.static ParsedField
DefaultFieldParser.parse
(ByteSequence raw, DecodeMonitor monitor) Parses the given byte sequence and returns an instance of theParsedField
class.static ParsedField
Parses the given string and returns an instance of theParsedField
class.static ParsedField
LenientFieldParser.parse
(String rawStr, DecodeMonitor monitor) Parses the given string and returns an instance of theField
class.static ParsedField
LenientFieldParser.parse
(ByteSequence raw, DecodeMonitor monitor) Parses the given byte sequence and returns an instance of theParsedField
class. -
Uses of MimeException in org.apache.james.mime4j.field.address
Subclasses of MimeException in org.apache.james.mime4j.field.addressModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.contentdisposition.parser
Subclasses of MimeException in org.apache.james.mime4j.field.contentdisposition.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.contenttype.parser
Subclasses of MimeException in org.apache.james.mime4j.field.contenttype.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.datetime.parser
Subclasses of MimeException in org.apache.james.mime4j.field.datetime.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.language.parser
Subclasses of MimeException in org.apache.james.mime4j.field.language.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.mimeversion.parser
Subclasses of MimeException in org.apache.james.mime4j.field.mimeversion.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.structured.parser
Subclasses of MimeException in org.apache.james.mime4j.field.structured.parserModifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.internal
Methods in org.apache.james.mime4j.internal that throw MimeExceptionModifier and TypeMethodDescriptionvoid
ParserStreamContentHandler.body
(BodyDescriptor bd, InputStream is) void
ParserStreamContentHandler.endBodyPart()
void
ParserStreamContentHandler.endHeader()
void
ParserStreamContentHandler.endMessage()
void
ParserStreamContentHandler.endMultipart()
void
ParserStreamContentHandler.epilogue
(InputStream is) void
void
ParserStreamContentHandler.preamble
(InputStream is) void
ParserStreamContentHandler.raw
(InputStream is) Unsupported.void
ParserStreamContentHandler.startBodyPart()
void
ParserStreamContentHandler.startHeader()
void
ParserStreamContentHandler.startMessage()
void
ParserStreamContentHandler.startMultipart
(BodyDescriptor bd) -
Uses of MimeException in org.apache.james.mime4j.io
Subclasses of MimeException in org.apache.james.mime4j.ioModifier and TypeClassDescriptionclass
Signals a I/O error due to the total header length exceeding the maximum limit.class
Signals a I/O error due to the header count exceeding the maximum limit. -
Uses of MimeException in org.apache.james.mime4j.message
Methods in org.apache.james.mime4j.message that throw MimeException -
Uses of MimeException in org.apache.james.mime4j.parser
Methods in org.apache.james.mime4j.parser that throw MimeExceptionModifier and TypeMethodDescriptionvoid
AbstractContentHandler.body
(BodyDescriptor bd, InputStream is) void
ContentHandler.body
(BodyDescriptor bd, InputStream is) Called when the body of a discrete (non-multipart) entity is about to be parsed.void
AbstractContentHandler.endBodyPart()
void
ContentHandler.endBodyPart()
Called when a body part ends.void
AbstractContentHandler.endHeader()
void
ContentHandler.endHeader()
Called when there are no more header fields in a message or body part.void
AbstractContentHandler.endMessage()
void
ContentHandler.endMessage()
Called when a message ends.void
AbstractContentHandler.endMultipart()
void
ContentHandler.endMultipart()
Called when the body of an entity has been parsed.void
AbstractContentHandler.epilogue
(InputStream is) void
ContentHandler.epilogue
(InputStream is) Called for the epilogue (whatever comes after the final body part) of amultipart/*
entity.void
void
Called for each field of a header.void
MimeStreamParser.parse
(InputStream instream) Parses a stream of bytes containing a MIME message.void
AbstractContentHandler.preamble
(InputStream is) void
ContentHandler.preamble
(InputStream is) Called for the preamble (whatever comes before the first body part) of amultipart/*
entity.void
AbstractContentHandler.raw
(InputStream is) void
ContentHandler.raw
(InputStream is) Called when a new entity (message or body part) starts and the parser is inraw
mode.void
AbstractContentHandler.startBodyPart()
void
ContentHandler.startBodyPart()
Called when a new body part starts inside amultipart/*
entity.void
AbstractContentHandler.startHeader()
void
ContentHandler.startHeader()
Called when a header (of a message or body part) is about to be parsed.void
AbstractContentHandler.startMessage()
void
ContentHandler.startMessage()
Called when a new message starts (a top level message or an embedded rfc822 message).void
AbstractContentHandler.startMultipart
(BodyDescriptor bd) void
ContentHandler.startMultipart
(BodyDescriptor bd) Called when the body of a multipart entity is about to be parsed. -
Uses of MimeException in org.apache.james.mime4j.samples.mbox
Methods in org.apache.james.mime4j.samples.mbox that throw MimeExceptionModifier and TypeMethodDescriptionprivate static String
IterateOverMbox.messageSummary
(InputStream messageBytes) Parse a message and return a simpleString
representation of some important fields. -
Uses of MimeException in org.apache.james.mime4j.stream
Subclasses of MimeException in org.apache.james.mime4j.streamModifier and TypeClassDescriptionclass
Indicates that strict parsing has been enabled and an optional invality has been found in the input.Methods in org.apache.james.mime4j.stream that throw MimeExceptionModifier and TypeMethodDescriptionUpdates builder's internal state by adding a new field.Should be called for eachContent-
header field of a MIME message or part.EntityStateMachine.advance()
Advances the state machine to the next state in the process of the MIME stream parsing.MimeEntity.advance()
void
FieldBuilder.append
(ByteArrayBuffer line) Updates builder's internal state by adding a new line of text.DefaultFieldBuilder.build()
FieldBuilder.build()
Builds an instance ofRawField
based on the internal state.private void
MimeEntity.createMimePartStream()
protected void
MimeTokenStream.next()
This method advances the token stream to the next token.protected boolean
MimeEntity.nextField()
private void
FallbackBodyDescriptorBuilder.parseContentType
(Field field) RawFieldParser.parseField
(ByteSequence raw) Parses the sequence of bytes intoRawField
.private void
MimeEntity.readRawField()
-
Uses of MimeException in org.apache.james.mime4j.utils.search
Methods in org.apache.james.mime4j.utils.search that throw MimeExceptionModifier and TypeMethodDescriptionprotected void
private boolean
MessageMatcher.matchBufferInMailBeingMimeAware
(InputStream input, CharBuffer buffer) boolean
MessageMatcher.messageMatches
(InputStream input) Is searchContents found in the given input?