@Test public void testVerifyNotNul() { assertEquals("foo", HecateException.verifyNotNull("foo", "This is my %s.", "message")); }
public static <T> T verifyNotNull(T object, String message, Object... params) { if(object == null) { throw new HecateException(message, params); } return object; }
HecateException extends RuntimeException { public static <T> T verifyNotNull(T object, String message, Object... params) { if(object == null) { throw new HecateException(message, params); } return object; } }
HecateException extends RuntimeException { public static <T> T verifyNotNull(T object, String message, Object... params) { if(object == null) { throw new HecateException(message, params); } return object; } HecateException(String message, Object... args);  HecateException(Exception cause, String message, Object... args); }
HecateException extends RuntimeException { public static <T> T verifyNotNull(T object, String message, Object... params) { if(object == null) { throw new HecateException(message, params); } return object; } HecateException(String message, Object... args);  HecateException(Exception cause, String message, Object... args); static T verifyNotNull(T object, String message, Object... params); }
HecateException extends RuntimeException { public static <T> T verifyNotNull(T object, String message, Object... params) { if(object == null) { throw new HecateException(message, params); } return object; } HecateException(String message, Object... args);  HecateException(Exception cause, String message, Object... args); static T verifyNotNull(T object, String message, Object... params);  }