public class IllegalTemplateException
extends java.lang.IllegalArgumentException
SystemCapability.Wearable#COMPLICATION| 构造器 | 说明 |
|---|---|
IllegalTemplateException(int type,
java.lang.String template) |
Defines an exception to indicate the inconsistency between the complication type
and the complication template type.
|
public IllegalTemplateException(int type,
java.lang.String template)
type - Indicates the complication type, as defined in Complication.template - Indicates the complication template type, as defined in ComplicationTemplate.