@Test public void testThrowableMessageCtor() { Throwable t = mock( Throwable.class ); exception = new LifecycleException( "message", t, true ); assertEquals( t, exception.getCause() ); assertEquals( "message", exception.getMessage() ); assertTrue( exception.isSevere() ); }
public boolean isSevere() { return severe; }
LifecycleException extends Exception { public boolean isSevere() { return severe; } }
LifecycleException extends Exception { public boolean isSevere() { return severe; } LifecycleException( boolean severe );  LifecycleException( String message, boolean severe );  LifecycleException( Throwable cause, boolean severe );  LifecycleException( String message, Throwable cause, boolean severe ); }
LifecycleException extends Exception { public boolean isSevere() { return severe; } LifecycleException( boolean severe );  LifecycleException( String message, boolean severe );  LifecycleException( Throwable cause, boolean severe );  LifecycleException( String message, Throwable cause, boolean severe ); boolean isSevere(); }
LifecycleException extends Exception { public boolean isSevere() { return severe; } LifecycleException( boolean severe );  LifecycleException( String message, boolean severe );  LifecycleException( Throwable cause, boolean severe );  LifecycleException( String message, Throwable cause, boolean severe ); boolean isSevere();  }