private void printWarning ( PropertyImpl property , Exception exception ) throws RepositoryException { if ( PropertyManager . isDevelopping ( ) ) { LOG . warn ( "Binary value reader error, content by path " + property . getPath ( ) + ", property id " + property . getData ( ) . getIdentifier ( ) + " : " + exception . getMessage ( ) , exception ) ; } else { LOG . warn ( "Binary value reader error, content by path " + property . getPath ( ) + ", property id " + property . getData ( ) . getIdentifier ( ) + " : " + exception . getMessage ( ) ) ; } }
Print warning message on the console