public void testExceptionArg() throws Exception {
    Object[] args = new Object[] { "a", 42, new Exception("test") };
    Throwable t = ((AbstractLogger) logger).getThrowable(args);
    assertNotNull(t);
    assertEquals("test", t.getMessage());
  }
Test picking up an exception argument.
src/test/java/net/spy/memcached/compat/log/LoggingTest.java