private static String message(final String message, final Throwable throwable) {
        
        if (throwable != null && throwable instanceof ParseException) {
            
            final ParseException exception = (ParseException)throwable;
            if (exception.getLine() != null && exception.getCol() != null) {
                return "(Line = " + exception.getLine() + ", Column = " + exception.getCol() + ")" + 
                        (message != null? (" " + message) : throwable.getMessage()); 
            }

        }
        if (message != null) {
            return message;
        }
        if (throwable != null) {
            return throwable.getMessage();
        }
        return null;
        
    }