1 46 package org.mr; 47 48 58 public class MantaException extends Exception { 59 60 63 private static final long serialVersionUID = -223156231488464874L; 64 public static final int ID_RECEIVE_GENERAL_FAIL =1; 65 public static final int ID_WAIT_FOR_RESPONSE_FAIL =2; 66 public static final int ID_INVALID_ARGUMENTS =3; 67 public static final int ID_SECURITY_ERROR =4; 68 public int id; 69 72 public MantaException(String message , int id) { 73 super(message); 74 this.id = id; 75 }} | Popular Tags |