protected void assertMessageHandlerNotCorrupt ( ) throws SIMPException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "assertMessageHandlerNotCorrupt" ) ; if ( baseDest . isCorruptOrIndoubt ( ) ) { String nlsMsg = nls . getFormattedMessage ( "MESSAGE_HANDLER_CORRUPT_ERROR_CWSIP0201" , null , null ) ; SIMPException e = new SIMPException ( nlsMsg ) ; SibTr . exception ( tc , e ) ; throw e ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "assertMessageHandlerNotCorrupt" ) ; }
A utility method for methods which can only execute if the underlying message handler is not corrupt or waiting to be reset on restart .