summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-06-11 14:58:43 +0200
committerJose <jose@zeroc.com>2019-06-11 14:58:43 +0200
commitccd948cc523dc83683dbb8da9e9de4cc4aea7c89 (patch)
tree9444d37f15c5e2c2abc8ad993646971b379e4903
parentSwift servant dispatch updates (diff)
downloadice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.tar.bz2
ice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.tar.xz
ice-ccd948cc523dc83683dbb8da9e9de4cc4aea7c89.zip
Missing throws clauses
-rw-r--r--swift/src/Ice/Object.swift8
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
}
}