Here you can find the source of assertPositive(int num, String err)
public static void assertPositive(int num, String err)
//package com.java2s; //License from project: Apache License public class Main { public static void assertPositive(int num, String err) { if (num <= 0) { throw new RuntimeException(err); }/*from w ww. jav a2 s . c om*/ } }