viewpagerindicator/src/main/java/it/xabaras/android/viewpagerindicator/widget/ViewPagerIndicator.java
private String getMessageFor(Exception e) {
        if ( e == null ) return TAG + ": No Message.";

        return e != null && e.getMessage() != null ? e.getMessage() : e.getClass().getName() + ": No Message.";
    }
private String getMessageFor(Exception e) {
        if ( e == null ) return TAG + ": No Message.";

        return e != null && e.getMessage() != null ? e.getMessage() : e.getClass().getName() + ": No Message.";
    }
Always get a message for an exception
@param e an Exception
@return a String describing the Exception