Package org.apache.directory.shared.ldap.message

Examples of org.apache.directory.shared.ldap.message.ResponseCarryingMessageException


     */
    public void exceptionCaught( IoSession session, Throwable cause )
    {
        if ( cause.getCause() instanceof ResponseCarryingMessageException )
        {
            ResponseCarryingMessageException rcme = ( ResponseCarryingMessageException ) cause.getCause();

            if ( rcme.getResponse() != null )
            {
                session.write( rcme.getResponse() );
                return;
            }               
        }
       
        LOG.warn( "Unexpected exception forcing session to close: sending disconnect notice to client.", cause );
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.message.ResponseCarryingMessageException

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.