exception-rule-config-model.xml 1.01 KB
<?xml version="1.0" encoding="UTF-8"?>
<model model-package="com.dianping.cat.home.exception" enable-merger="false"  enable-sax-parser="true"
	enable-base-visitor="false">
  <entity name="exception-rule-config" root="true">
    <entity-ref name="exception-limit" type="map" names="exception-limits" method-find-or-create="true"/>
    <entity-ref name="exception-exclude" type="map" names="exception-excludes" method-find-or-create="true"/>
  </entity>
  <entity name="exception-limit">
    <attribute name="id" value-type="String" key="true" />
    <attribute name="domain" value-type="String" />
    <attribute name="name" value-type="String" />
    <attribute name="warning" value-type="int" primitive="true" />
    <attribute name="error" value-type="int" primitive="true" />
  </entity>
  <entity name="exception-exclude">
    <attribute name="id" value-type="String" key="true" />
    <attribute name="domain" value-type="String" />
    <attribute name="name" value-type="String" />
  </entity>
</model>