### Question:
TaskException extends BackupException { static TaskException create() { return new TaskException( false, DEFAULT_STATUS); } private  TaskException(Exception cause, boolean stateCompromised, int status); private  TaskException(boolean stateCompromised, int status);   }### Answer:
@Test public void testCreate() { TaskException exception = TaskException.create(); assertThat(exception.isStateCompromised()).isFalse(); assertThat(exception.getStatus()).isEqualTo(BackupTransport.TRANSPORT_ERROR); }