package org.hibernate.search; import org.junit.Test; public class TestSearchException { @Test public void test(){ SearchException se = new SearchException(); se = new SearchException("test exception"); se = new SearchException("test message", null); se = new SearchException("test message", new IllegalArgumentException()); se = new SearchException(new IllegalArgumentException()); try{ throw se; }catch(SearchException e){} } }