src/main/java/com/huawei/devcloud/global_configuration/AbstractDevCloudGlobalConfiguration.java
protected String processExceptionMessage(Throwable t) {
        LOGGER.log(Level.FINEST, t.getMessage(), t);

        String msg = t.getMessage();
        String className = t.getClass().getSimpleName();
        return className + ":" + StringUtils.defaultIfBlank(msg, "Unknown error");
    }
/**
     * it returns a different cause message based on exception type.
     *
     * @param t
     *            Throwable to process.
     * @return the proper cause message.
     */
it returns a different cause message based on exception type.
@param t
Throwable to process.
@return the proper cause message.
it returns a different cause message based on exception type . @param t Throwable to process . @return the proper cause message .
protected String processExceptionMessage(Throwable t) {
        LOGGER.log(Level.FINEST, t.getMessage(), t);
        String msg = t.getMessage();
        String className = t.getClass().getSimpleName();
        return className + ":" + StringUtils.defaultIfBlank(msg, "Unknown error");
    }
protected String processExceptionMessage ( Throwable t ) { LOGGER . log ( Level . FINEST , t . getMessage ( ) , t ) ; String msg = t . getMessage ( ) ; String className = t . getClass ( ) . getSimpleName ( ) ; return className + ":" + StringUtils . defaultIfBlank ( msg , "Unknown error" ) ; }
it returns a different cause message based on exception type.
it returns a different cause message based on exception type .