Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Services.Scenario.InvalidInputParameterException Class Reference

InvalidInputParameterException is a specialized exception class that is used by classes of the Scenario Service to indicate that an invalid input parameter has been provided to create or edit a ScenarioInstance. More...

Inherits Apama.Services.Scenario.ScenarioServiceException.

Public Member Functions

virtual void AddValidationFailureMessage (string parameterName, string localizedError)
 Add a localized validation failure message for a named input parameter. More...
 
virtual bool ContainsValidationFailureMessages ()
 Determine if this exception contains any validation failure messages for individual input parameters. More...
 
 InvalidInputParameterException ()
 Constructor for InvalidInputParameterException More...
 
 InvalidInputParameterException (string message)
 Constructor for InvalidInputParameterException More...
 
 InvalidInputParameterException (string message, Exception cause)
 Constructor for InvalidInputParameterException More...
 
 InvalidInputParameterException (Exception cause)
 Constructor for InvalidInputParameterException More...
 
- Public Member Functions inherited from Apama.Services.Scenario.ScenarioServiceException
 ScenarioServiceException ()
 Create a simple ScenarioServiceException exception with no message. More...
 
 ScenarioServiceException (string message)
 Create a simple ScenarioServiceException exception with a given message. More...
 
 ScenarioServiceException (string message, System.Exception cause)
 Create a compound exception with the given message and that references the given exception. More...
 
 ScenarioServiceException (System.Exception cause)
 Create a compound exception that references the given "cause" exception. More...
 

Properties

virtual Dictionary< string,
string > 
ValidationFailureMessages [get]
 Get an unmodifiable view of the internal map of validation failure messages. Keys are input parameter names. Values are localized validation failure messages. More...
 

Detailed Description

InvalidInputParameterException is a specialized exception class that is used by classes of the Scenario Service to indicate that an invalid input parameter has been provided to create or edit a ScenarioInstance.

Constructor & Destructor Documentation

Apama.Services.Scenario.InvalidInputParameterException.InvalidInputParameterException ( )
Apama.Services.Scenario.InvalidInputParameterException.InvalidInputParameterException ( string  message)

Constructor for InvalidInputParameterException

Parameters
messageMessage for the exception
Apama.Services.Scenario.InvalidInputParameterException.InvalidInputParameterException ( string  message,
Exception  cause 
)

Constructor for InvalidInputParameterException

Parameters
messageMessage for the exception
causeInner exception for this exception
Apama.Services.Scenario.InvalidInputParameterException.InvalidInputParameterException ( Exception  cause)

Constructor for InvalidInputParameterException

Parameters
causeInner exception for this exception

Member Function Documentation

virtual void Apama.Services.Scenario.InvalidInputParameterException.AddValidationFailureMessage ( string  parameterName,
string  localizedError 
)
virtual

Add a localized validation failure message for a named input parameter.

Parameters
parameterNamethe name of the input parameter.
localizedErrorThe localized validation failure message.
virtual bool Apama.Services.Scenario.InvalidInputParameterException.ContainsValidationFailureMessages ( )
virtual

Determine if this exception contains any validation failure messages for individual input parameters.

Returns
True if there are messages available.

Property Documentation

virtual Dictionary<string, string> Apama.Services.Scenario.InvalidInputParameterException.ValidationFailureMessages
get

Get an unmodifiable view of the internal map of validation failure messages. Keys are input parameter names. Values are localized validation failure messages.

Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.