Uses of Class
org.apache.james.mime4j.MimeException

Packages that use MimeException
org.apache.james.mime4j   
org.apache.james.mime4j.dom   
org.apache.james.mime4j.dom.field   
org.apache.james.mime4j.field   
org.apache.james.mime4j.io   
org.apache.james.mime4j.message   
org.apache.james.mime4j.parser   
org.apache.james.mime4j.stream   
 

Uses of MimeException in org.apache.james.mime4j
 

Methods in org.apache.james.mime4j that return MimeException
 MimeException MimeIOException.getCause()
          Returns the MimeException that caused this MimeIOException.
 

Constructors in org.apache.james.mime4j with parameters of type MimeException
MimeIOException(MimeException cause)
          Constructs an IO exception based on MimeException.
 

Uses of MimeException in org.apache.james.mime4j.dom
 

Methods in org.apache.james.mime4j.dom that throw MimeException
static MessageServiceFactory MessageServiceFactory.newInstance()
           
 Header MessageBuilder.parseHeader(java.io.InputStream source)
           
 Message MessageBuilder.parseMessage(java.io.InputStream source)
           
 

Uses of MimeException in org.apache.james.mime4j.dom.field
 

Subclasses of MimeException in org.apache.james.mime4j.dom.field
 class ParseException
          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 MimeException
static ParsedField DefaultFieldParser.parse(ByteSequence raw, DecodeMonitor monitor)
          Parses the given byte sequence and returns an instance of the ParsedField class.
static ParsedField LenientFieldParser.parse(ByteSequence raw, DecodeMonitor monitor)
          Parses the given byte sequence and returns an instance of the ParsedField class.
static ParsedField DefaultFieldParser.parse(java.lang.String rawStr)
           
static ParsedField LenientFieldParser.parse(java.lang.String rawStr)
          Parses the given string and returns an instance of the ParsedField class.
static ParsedField DefaultFieldParser.parse(java.lang.String rawStr, DecodeMonitor monitor)
          Parses the given string and returns an instance of the ParsedField class.
static ParsedField LenientFieldParser.parse(java.lang.String rawStr, DecodeMonitor monitor)
          Parses the given string and returns an instance of the Field class.
 

Uses of MimeException in org.apache.james.mime4j.io
 

Subclasses of MimeException in org.apache.james.mime4j.io
 class MaxHeaderLengthLimitException
          Signals a I/O error due to the total header length exceeding the maximum limit.
 class MaxHeaderLimitException
          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
 Field DefaultBodyDescriptorBuilder.addField(RawField rawfield)
           
 void SimpleContentHandler.field(Field field)
           
 

Uses of MimeException in org.apache.james.mime4j.parser
 

Methods in org.apache.james.mime4j.parser that throw MimeException
 void ContentHandler.body(BodyDescriptor bd, java.io.InputStream is)
          Called when the body of a discrete (non-multipart) entity is about to be parsed.
 void AbstractContentHandler.body(BodyDescriptor bd, java.io.InputStream is)
           
 void ContentHandler.endBodyPart()
          Called when a body part ends.
 void AbstractContentHandler.endBodyPart()
           
 void ContentHandler.endHeader()
          Called when there are no more header fields in a message or body part.
 void AbstractContentHandler.endHeader()
           
 void ContentHandler.endMessage()
          Called when a message ends.
 void AbstractContentHandler.endMessage()
           
 void ContentHandler.endMultipart()
          Called when the body of an entity has been parsed.
 void AbstractContentHandler.endMultipart()
           
 void ContentHandler.epilogue(java.io.InputStream is)
          Called for the epilogue (whatever comes after the final body part) of a multipart/* entity.
 void AbstractContentHandler.epilogue(java.io.InputStream is)
           
 void ContentHandler.field(Field rawField)
          Called for each field of a header.
 void AbstractContentHandler.field(Field field)
           
 void MimeStreamParser.parse(java.io.InputStream instream)
          Parses a stream of bytes containing a MIME message.
 void ContentHandler.preamble(java.io.InputStream is)
          Called for the preamble (whatever comes before the first body part) of a multipart/* entity.
 void AbstractContentHandler.preamble(java.io.InputStream is)
           
 void ContentHandler.raw(java.io.InputStream is)
          Called when a new entity (message or body part) starts and the parser is in raw mode.
 void AbstractContentHandler.raw(java.io.InputStream is)
           
 void ContentHandler.startBodyPart()
          Called when a new body part starts inside a multipart/* entity.
 void AbstractContentHandler.startBodyPart()
           
 void ContentHandler.startHeader()
          Called when a header (of a message or body part) is about to be parsed.
 void AbstractContentHandler.startHeader()
           
 void ContentHandler.startMessage()
          Called when a new message starts (a top level message or an embedded rfc822 message).
 void AbstractContentHandler.startMessage()
           
 void ContentHandler.startMultipart(BodyDescriptor bd)
          Called when the body of a multipart entity is about to be parsed.
 void AbstractContentHandler.startMultipart(BodyDescriptor bd)
           
 

Uses of MimeException in org.apache.james.mime4j.stream
 

Subclasses of MimeException in org.apache.james.mime4j.stream
 class MimeParseEventException
          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 MimeException
 Field BodyDescriptorBuilder.addField(RawField field)
          Updates builder's internal state by adding a new field.
 EntityStateMachine EntityStateMachine.advance()
          Advances the state machine to the next state in the process of the MIME stream parsing.
 void FieldBuilder.append(ByteArrayBuffer line)
          Updates builder's internal state by adding a new line of text.
 RawField FieldBuilder.build()
          Builds an instance of RawField based on the internal state.
 RawField DefaultFieldBuilder.build()
           
 EntityState MimeTokenStream.next()
          This method advances the token stream to the next token.
 RawField RawFieldParser.parseField(ByteSequence raw)
          Parses the sequence of bytes into RawField.
 



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