@Test public void testPublishExceptionInt() { PublishException exception = new PublishException( PublishException.ERROR_UNKNOWN ); assertNotNull( exception ); assertEquals( PublishException.ERROR_UNKNOWN, exception.getErrorCode() ); }
public int getErrorCode() { return errorCode; }
PublishException extends Exception { public int getErrorCode() { return errorCode; } }
PublishException extends Exception { public int getErrorCode() { return errorCode; } PublishException( final int errorCode );  PublishException( final int errorCode, final int httpReason );  PublishException( final int errorCode, final Throwable cause ); }
PublishException extends Exception { public int getErrorCode() { return errorCode; } 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 getErrorCode() { return errorCode; } 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; }