diff options
author | Jose <jose@zeroc.com> | 2019-06-11 14:58:43 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-11 14:58:43 +0200 |
commit | ccd948cc523dc83683dbb8da9e9de4cc4aea7c89 (patch) | |
tree | 9444d37f15c5e2c2abc8ad993646971b379e4903 | |
parent | Swift servant dispatch updates (diff) | |
download | ice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.tar.bz2 ice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.tar.xz ice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.zip |
Missing throws clauses
-rw-r--r-- | swift/src/Ice/Object.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/swift/src/Ice/Object.swift b/swift/src/Ice/Object.swift index 8fde3038073..0bda967e50a 100644 --- a/swift/src/Ice/Object.swift +++ b/swift/src/Ice/Object.swift @@ -88,19 +88,19 @@ public extension Object { public class DefaultObjectImpl<T: InterfaceTraits>: Object { public init() {} - public func ice_id(current _: Current) -> String { + public func ice_id(current _: Current) throws -> String { return T.staticId } - public func ice_ids(current _: Current) -> [String] { + public func ice_ids(current _: Current) throws -> [String] { return T.staticIds } - public func ice_isA(s: String, current _: Current) -> Bool { + public func ice_isA(s: String, current _: Current) throws -> Bool { return T.staticIds.contains(s) } - public func ice_ping(current _: Current) { + public func ice_ping(current _: Current) throws { // Do nothing } } |