sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1597) Sqoop2: Refactor DerbySchemaQuery into one for create/ update/ and then CRUD operarations
Date Mon, 20 Oct 2014 21:42:33 GMT
Veena Basavaraj created SQOOP-1597:
--------------------------------------

             Summary: Sqoop2: Refactor DerbySchemaQuery into one for create/ update/ and then
CRUD operarations
                 Key: SQOOP-1597
                 URL: https://issues.apache.org/jira/browse/SQOOP-1597
             Project: Sqoop
          Issue Type: Improvement
            Reporter: Veena Basavaraj
            Assignee: Veena Basavaraj


{code}
package org.apache.sqoop.common;

/**
 * Defines an error-code contract. Sqoop exceptions use the error code to
 * communicate error information where possible. Each error code is associated
 * with default message that identifies the high level information related to
 * the underlying error condition.
 */
public interface ErrorCode {

  /**
   * @return the string representation of the error code.
   */
  String getCode();

  /**
   * @return the message associated with error code.
   */
  String getMessage();
}

{code}
to 

{code}

package org.apache.sqoop.common;

/**
 * Defines an error-code contract. Sqoop exceptions use the error code to
 * communicate error information where possible. Each error code is associated
 * with default message that identifies the high level information related to
 * the underlying error condition.
 */
public abstract class ErrorCode {

  /**
   * @return the string representation of the error code.
   */
  String getCode() {
  }

  /**
   * @return the message associated with error code.
   */
  String getMessage() {

}
}

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message