Android examples for App:Log
Log greater Than message
//package com.java2s; import android.util.Log; public class Main { public static void greaterThan(int value, int start, String message) { if (value <= start) { Log.d("TTT", "Value : " + value + " | Compared: " + start); throw new IllegalArgumentException(message); }//w ww .j a v a2 s .c om } public static void greaterThan(int value, int start) { greaterThan(value, start, null); } }