You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/10/20 23:42:33 UTC

[jira] [Created] (SQOOP-1597) Sqoop2: Refactor DerbySchemaQuery into one for create/ update/ and then CRUD operarations

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)