Repository: airavata Updated Branches: refs/heads/develop f88859bf3 -> 2d9fd253b
http://git-wip-us.apache.org/repos/asf/airavata/blob/2d9fd253/thrift-interface-descriptions/component-cpis/registry_api_errors.thrift ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/component-cpis/registry_api_errors.thrift b/thrift-interface-descriptions/component-cpis/registry_api_errors.thrift new file mode 100644 index 0000000..b1de09f --- /dev/null +++ b/thrift-interface-descriptions/component-cpis/registry_api_errors.thrift @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + +/* +* This file describes the definitions of the Error Messages that can occur +* when invoking Apache Airavata Services through the API. In addition Thrift provides +* built in funcationality to raise TApplicationException for all internal server errors. +*/ + +namespace java org.apache.airavata.registry.api.exception +namespace php Airavata.Registry.API.Error + +exception RegistryServiceException { + 1: required string message +}
