OAuthJwtAccessTokenException extends Exception { public OAuthJwtAccessTokenException() { super(); } OAuthJwtAccessTokenException();  OAuthJwtAccessTokenException(String message);  OAuthJwtAccessTokenException(Throwable cause);   }
@Test public void testOAuthJwtAccessTokenException() { OAuthJwtAccessTokenException ex; ex = new OAuthJwtAccessTokenException(); assertNotNull(ex); ex = new OAuthJwtAccessTokenException("err msg"); assertEquals(ex.getMessage(), "err msg"); Throwable t = new Throwable(); ex = new OAuthJwtAccessTokenException(t); assertSame(ex.getCause(), t); }