@Test public void testPublishExceptionIntInt() { PublishException exception = new PublishException( PublishException.ERROR_UNKNOWN, 404 ); assertNotNull( exception ); assertEquals( 404, exception.getHttpReason() ); }
public int getHttpReason() { return httpReason; }
PublishException extends Exception { public int getHttpReason() { return httpReason; } }
PublishException extends Exception { public int getHttpReason() { return httpReason; } PublishException( final int errorCode );  PublishException( final int errorCode, final int httpReason );  PublishException( final int errorCode, final Throwable cause ); }
PublishException extends Exception { public int getHttpReason() { return httpReason; } PublishException( final int errorCode );  PublishException( final int errorCode, final int httpReason );  PublishException( final int errorCode, final Throwable cause ); int getHttpReason(); int getErrorCode(); }
PublishException extends Exception { public int getHttpReason() { return httpReason; } PublishException( final int errorCode );  PublishException( final int errorCode, final int httpReason );  PublishException( final int errorCode, final Throwable cause ); int getHttpReason(); int getErrorCode(); static final int ERROR_UNKNOWN; static final int ERROR_FILE_EXISTS; static final int ERROR_FAILED; static final int ERROR_SUCCESSFUL; static final int ERROR_INVALID_PASSWORD; static final int ERROR_INVALID_USERNAME_OR_PASSWORD; }