public class InvalidInputParameterException extends ScenarioServiceException
Constructor and Description |
---|
InvalidInputParameterException() |
InvalidInputParameterException(java.lang.String message) |
InvalidInputParameterException(java.lang.String message,
java.lang.Throwable cause) |
InvalidInputParameterException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
addValidationFailureMessage(java.lang.String paramName,
java.lang.String localizedError)
Add a localized validation failure message for a named input parameter.
|
boolean |
containsValidationFailureMessages()
Determine if this exception contains any validation failure messages for
individual input parameters.
|
java.util.Map<java.lang.String,java.lang.String> |
getValidationFailureMessages()
Get an unmodifiable view of the internal map of validation failure
messages.
|
public InvalidInputParameterException()
public InvalidInputParameterException(java.lang.String message)
public InvalidInputParameterException(java.lang.String message, java.lang.Throwable cause)
public InvalidInputParameterException(java.lang.Throwable cause)
public void addValidationFailureMessage(java.lang.String paramName, java.lang.String localizedError)
paramName
- the name of the input parameter.localizedError
- The localized validation failure message.public boolean containsValidationFailureMessages()
public java.util.Map<java.lang.String,java.lang.String> getValidationFailureMessages()
Submit a bug or feature
Copyright (c) 2013-2018 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.