Public Member Functions

cl.utfsm.acs.acg.core.IllegalOperationException Class Reference

Inherits java::lang::Exception.

List of all members.

Public Member Functions

 IllegalOperationException ()
 IllegalOperationException (String message)
 IllegalOperationException (Throwable cause)
 IllegalOperationException (String message, Throwable cause)

Detailed Description

The IllegalOperationException exception should be used when illegal actions are going to be taken over a set of objects of the Alarm System configuration.

The following are the constraints for the Alarm System configuration:

  • A Category cannot be deleted if it is being currently used by a Fault Family
  • A Source cannot be deleted if it is being currently used by a Fault Family
  • A Fault Family cannot be deleted if it is part of a Reduction Rule, actions as the parent of the rule, or as any kind of child.
  • A Fault Member cannot be deleted if it is part of a Reduction Rule, actions as the parent of the rule, or as any kind of child.
  • A Fault Code cannot be deleted if it is part of a Reduction Rule, actions as the parent of the rule, or as any kind of child.

When a new unique element is added to a object group (Category, Source, Fault Family and so), and it already exists, this exception should also be used. For instance, if a source "SOURCE1" already exists in the configuration, and it is added through the SourceManager, this exception should be risen.

Author:
rtobar


Constructor & Destructor Documentation

cl.utfsm.acs.acg.core.IllegalOperationException.IllegalOperationException (  ) 

Default constructor

cl.utfsm.acs.acg.core.IllegalOperationException.IllegalOperationException ( String  message  ) 
Parameters:
message 
cl.utfsm.acs.acg.core.IllegalOperationException.IllegalOperationException ( Throwable  cause  ) 
Parameters:
cause 
cl.utfsm.acs.acg.core.IllegalOperationException.IllegalOperationException ( String  message,
Throwable  cause 
)
Parameters:
message 
cause 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties