throw new ActionParameterException(FriendlyNameParameterDefinition.INSTANCE.getName() + " parameter is required."); throw new ActionParameterException(OnParameterDefinition.INSTANCE.getName() + " parameter is required."); newSwitchOnValue = false; } else { throw new ActionParameterException(OnParameterDefinition.INSTANCE.getName() + " parameter value is not recognized.");
throw new ActionParameterException("Host parameter is missing."); throw new ActionParameterException("UserName parameter is missing."); throw new ActionParameterException("Password parameter is missing."); throw new ActionParameterException("Command Line parameter is missing.");
throw new ActionParameterException("Token is required."); throw new ActionParameterException("User is required."); throw new ActionParameterException("Message is required."); pushOverClient.sendPushMessage(pushMessage); } catch (PushOverException e) { throw new ActionParameterException(e.getMessage(), e); } catch (IOException e) { throw new ActionFailureException(e.getMessage(), e);
final ActionParameterException t = new ActionParameterException(TitleParameterDefinition.INSTANCE.getName() + " is missing."); if (logger.isTraceEnabled()) { logger.throwing(t); final ActionParameterException t = new ActionParameterException(MessageParameterDefinition.INSTANCE.getName() + " is missing."); if (logger.isTraceEnabled()) { logger.throwing(t); final ActionParameterException t = new ActionParameterException(NotificationIconParameterDefinition.INSTANCE.getName() + " is missing."); if (logger.isTraceEnabled()) { logger.throwing(t); final ActionParameterException t = new ActionParameterException(DurationParameterDefinition.INSTANCE.getName() + " is missing."); if (logger.isTraceEnabled()) { logger.throwing(t);
final String host = action.getParameters().get(HostParameterDefinition.DEF_UUID); if (host == null) { final ActionParameterException t = new ActionParameterException(HostParameterDefinition.INSTANCE.getName() + " is missing."); if (logger.isTraceEnabled()) { logger.throwing(t); final XbmcClient client = findClient(host); if (client == null) { final ActionParameterException t = new ActionParameterException("Host " + host + " could not be found."); if (logger.isTraceEnabled()) { logger.throwing(t);