Activity Chart Checks : (C3138) Switch/Case structure contains more than one default entry

(C3138) Switch/Case structure contains more than one default entry

Error In:
Correctness
Description:
Switch/Case structures within an activity’s mini-spec have more than one default statement.
Example:
Activity ACT_1 contains the following mini-spec:
(SWITCH_VAL)/switch_c (SWITCH_VAL) {
case_c 1: OUT1=RED;break;
case_c 2: OUT1=AMBER;break;
case_c 3: OUT1=GREEN;break;
default : OUT1=RED;
default : OUT=AMBER;}
The error is generated because there is more than one default statement.
Erroneous Elements:
Switch/Case structures