void sessionError(final SibRaMessagingEngineConnection connection,
            final ConsumerSession session, final Throwable throwable) {

        /*
         * Output a message to the console if the exception is not an
         * SINotPossibleInCurrentConfigurationException since this is thrown
         * when destinations are deleted and we would then expect this
         * exception to be thrown.
         *
         * d364674 - if a destination is deleted while we are listening then
         *   we will receive session dropped here. Use a warning message rather
         *   than an error (there may be other causes for session dropped that
         *   we still want to warn about).
         */

        if (throwable instanceof SISessionDroppedException)
        {
          final SIDestinationAddress destination = session
          .getDestinationAddress();
          SibTr.warning(TRACE, "SESSION_DROPPED_CWSIV0808", new Object[] {
              destination.getDestinationName(),
              connection.getConnection().getMeName(),
              destination.getBusName(),
              throwable});

        } else if (! (throwable instanceof SINotPossibleInCurrentConfigurationException))
        {
            final SIDestinationAddress destination = session
                .getDestinationAddress();
            SibTr.error(TRACE, "SESSION_ERROR_CWSIV0806", new Object[] { throwable,
                destination.getDestinationName(),
          connection.getConnection().getMeName(),
          destination.getBusName(), this });
        }

    }
void sessionError ( final SibRaMessagingEngineConnection connection , final ConsumerSession session , final Throwable throwable ) { if ( throwable instanceof SISessionDroppedException ) { final SIDestinationAddress destination = session . getDestinationAddress ( ) ; SibTr . warning ( TRACE , "SESSION_DROPPED_CWSIV0808" , new Object [ ] { destination . getDestinationName ( ) , connection . getConnection ( ) . getMeName ( ) , destination . getBusName ( ) , throwable } ) ; } else if ( ! ( throwable instanceof SINotPossibleInCurrentConfigurationException ) ) { final SIDestinationAddress destination = session . getDestinationAddress ( ) ; SibTr . error ( TRACE , "SESSION_ERROR_CWSIV0806" , new Object [ ] { throwable , destination . getDestinationName ( ) , connection . getConnection ( ) . getMeName ( ) , destination . getBusName ( ) , this } ) ; } }
Indicates that an error has been detected on the given session.

@param connection
the parent connection for the session
@param session
the session
@param throwable
the error