asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mb...@apache.org
Subject asterixdb-bad git commit: [NO ISSUE][FAIL] Replace MetadataException by AlgebricksException in APIs
Date Sat, 11 Nov 2017 18:21:21 GMT
Repository: asterixdb-bad
Updated Branches:
  refs/heads/master 201359867 -> 02d7c8c81


[NO ISSUE][FAIL] Replace MetadataException by AlgebricksException in APIs

Change-Id: I5cacb878902f8e4f11151902d14e12c6e3a5ac3a


Project: http://git-wip-us.apache.org/repos/asf/asterixdb-bad/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb-bad/commit/02d7c8c8
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb-bad/tree/02d7c8c8
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb-bad/diff/02d7c8c8

Branch: refs/heads/master
Commit: 02d7c8c8185aa94ad283d810f9b090727f9f5636
Parents: 2013598
Author: Till Westmann <tillw@apache.org>
Authored: Thu Nov 9 08:56:18 2017 -0800
Committer: Till Westmann <tillw@apache.org>
Committed: Thu Nov 9 08:56:18 2017 -0800

----------------------------------------------------------------------
 .../apache/asterix/bad/lang/statement/CreateChannelStatement.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb-bad/blob/02d7c8c8/asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java
----------------------------------------------------------------------
diff --git a/asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java
b/asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java
index a04ac49..6d04f20 100644
--- a/asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java
+++ b/asterix-bad/src/main/java/org/apache/asterix/bad/lang/statement/CreateChannelStatement.java
@@ -144,7 +144,7 @@ public class CreateChannelStatement implements IExtensionStatement {
     }
 
     public void initialize(MetadataTransactionContext mdTxnCtx, String subscriptionsTableName,
String resultsTableName)
-            throws MetadataException, HyracksDataException {
+            throws AlgebricksException, HyracksDataException {
         Function lookup = MetadataManager.INSTANCE.getFunction(mdTxnCtx, function);
         if (lookup == null) {
             throw new MetadataException(" Unknown function " + function.getName());


Mime
View raw message