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

Inheritance diagram for cl::utfsm::acs::acg::core::IllegalOperationException:
Inheritance graph
[legend]
Collaboration diagram for cl::utfsm::acs::acg::core::IllegalOperationException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Private Attributes

static final long serialVersionUID = -6131937452105181320L

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 (  )  [inline]

Default constructor

cl::utfsm::acs::acg::core::IllegalOperationException::IllegalOperationException ( String  message  )  [inline]
Parameters:
message 
cl::utfsm::acs::acg::core::IllegalOperationException::IllegalOperationException ( Throwable  cause  )  [inline]
Parameters:
cause 
cl::utfsm::acs::acg::core::IllegalOperationException::IllegalOperationException ( String  message,
Throwable  cause 
) [inline]
Parameters:
message 
cause 

Member Data Documentation

final long cl::utfsm::acs::acg::core::IllegalOperationException::serialVersionUID = -6131937452105181320L [static, private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2