Skip to content

Commit

Permalink
Started describing exception mapping in proto file
Browse files Browse the repository at this point in the history
Refs #31
  • Loading branch information
sverhoeven committed Jun 14, 2019
1 parent a8ca95f commit ce75e94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/proto/xenon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,13 @@ service FileSystemService {
// Gives the description of the adaptor with the given name.
rpc getAdaptorDescription(AdaptorName) returns (FileSystemAdaptorDescription) {}
// Create a new FileSystem using the adaptor that connects to a data store at location using the credentials to get access.
// @throws NOT_FOUND UnknownPropertyException
// @throws NOT_FOUND UnknownAdaptorException
// @throws FAILED_PRECONDITION InvalidPropertyException
// @throws FAILED_PRECONDITION InvalidLocationException
// @throws FAILED_PRECONDITION InvalidCredentialException
// @throws INTERNAL XenonException
// @throws INVALID_ARGUMENT IllegalArgumentException
rpc create(CreateFileSystemRequest) returns (FileSystem) {}
// Get the name of the adaptor that created this FileSystem.
rpc getAdaptorName(FileSystem) returns (AdaptorName) {}
Expand Down

0 comments on commit ce75e94

Please sign in to comment.