public Object get ( int key ) throws SIErrorException // D214655 { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "get" ) ; if ( tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "key: " + key ) ; // f174137 captiveComparitorKey . setValue ( key ) ; if ( tc . isDebugEnabled ( ) ) SibTr . debug ( tc , "captiveComparitorKey: " + captiveComparitorKey ) ; // f174317 // Start D214655 Object retObject = map . get ( captiveComparitorKey ) ; if ( retObject == null ) { // If no object existed this is always an error too throw new SIErrorException ( nls . getFormattedMessage ( "NO_SUCH_KEY_SICO2059" , new Object [ ] { "" + key } , null ) // D256974 ) ; } if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "get" ) ; return retObject ; // End D214655 }
Retrives the object associated with a particular key from the map .