question: private void checkObjectPrefix ( String prefix ) throws InvalidObjectPrefixException { if ( prefix . length ( ) > 1024 ) { throw new InvalidObjectPrefixException ( prefix , "Object prefix cannot be greater than 1024 characters." ) ; } try { prefix . getBytes ( "UTF-8" ) ; } catch ( java . io . UnsupportedEncodingException exc ) { throw new InvalidObjectPrefixException ( prefix , "Object prefix cannot be properly encoded to utf-8." ) ; } }
target:  Validates if given objectPrefix is valid.