/** * @param e * constructs an exception from a thrift exception */ public TableExistsException(ThriftTableOperationException e) { this(e.getTableId(), e.getTableName(), e.getDescription(), e); } }
/** * @param e * constructs an exception from a thrift exception */ public TableNotFoundException(ThriftTableOperationException e) { this(e.getTableId(), e.getTableName(), e.getDescription(), e); }
/** * @param e * constructs an exception from a thrift exception */ public NamespaceNotEmptyException(ThriftTableOperationException e) { this(e.getTableId(), e.getTableName(), e.getDescription(), e); }
/** * @param e * constructs an exception from a thrift exception */ public NamespaceNotFoundException(ThriftTableOperationException e) { this(e.getTableId(), e.getTableName(), e.getDescription(), e); }
/** * @param e * constructs an exception from a thrift exception */ public NamespaceExistsException(ThriftTableOperationException e) { this(e.getTableId(), e.getTableName(), e.getDescription(), e); } }
public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TABLE_ID: return getTableId(); case TABLE_NAME: return getTableName(); case OP: return getOp(); case TYPE: return getType(); case DESCRIPTION: return getDescription(); } throw new java.lang.IllegalStateException(); }