class AggregateException
cangjie
public class AggregateException <: Exception1
功能:表示聚合多个异常的异常类型。
父类型:
Exception
成员概览
| 成员 | 功能 |
|---|---|
| init(Collection<Exception>) | 创建聚合异常实例。 |
| let exceptions | 保存聚合的异常集合。 |
init(Collection<Exception>)
cangjie
public init(exceptions: Collection<Exception>)1
功能:创建聚合异常实例。
参数:
- exceptions:
Collection<Exception>- 需要聚合的异常集合。
let exceptions
cangjie
public let exceptions: Collection<Exception>1
功能:保存聚合的异常集合。
类型:Collection<Exception>