Package org.apache.james.mime4j.io

Examples of org.apache.james.mime4j.io.MaxHeaderLengthLimitException


        if (line == null) {
            return;
        }
        int len = line.length();
        if (this.maxlen > 0 && this.buf.length() + len >= this.maxlen) {
            throw new MaxHeaderLengthLimitException("Maximum header length limit exceeded");
        }
        this.buf.append(line.buffer(), 0, line.length());
    }
View Full Code Here

TOP

Related Classes of org.apache.james.mime4j.io.MaxHeaderLengthLimitException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.