@Test public void testConstructorNoCause() { String exMessage = "Witty exception message."; final long tabId = 317L; TabUndeletionException sut = new TabUndeletionException(exMessage, tabId); assertEquals("Didn't get the input deleted Tab from getTab()", tabId, sut.getTabId()); assertEquals( "Didn't get the input exception message from getMessage()", exMessage, sut.getMessage()); }
public long getTabId() { return tabId; }
TabUndeletionException extends Exception { public long getTabId() { return tabId; } }
TabUndeletionException extends Exception { public long getTabId() { return tabId; } TabUndeletionException(final String message, final long inTabId);  TabUndeletionException(final String message, final Throwable cause, final long inTabId); }
TabUndeletionException extends Exception { public long getTabId() { return tabId; } TabUndeletionException(final String message, final long inTabId);  TabUndeletionException(final String message, final Throwable cause, final long inTabId); long getTabId(); }
TabUndeletionException extends Exception { public long getTabId() { return tabId; } TabUndeletionException(final String message, final long inTabId);  TabUndeletionException(final String message, final Throwable cause, final long inTabId); long getTabId();  }