class AggregateException
cangjie
public class AggregateException <: Exception功能:表示聚合了多个异常的错误。
父类型:
Exception
let exceptions
cangjie
public let exceptions: Collection<Exception>功能:返回当前聚合异常中包含的异常集合。
类型:Collection<Exception>
init(String, Collection<Exception>)
cangjie
public init(message: String, exceptions: Collection<Exception>)功能:创建一个聚合异常实例。
参数:
- message:
String- 聚合异常的摘要消息。 - exceptions:
Collection<Exception>- 要聚合的异常集合。