mirror of https://github.com/apache/cloudstack.git
bug 6428: Send alert when usage job fails
status 6428: resolved fixed
This commit is contained in:
parent
7d10fe4b6c
commit
f7a2b8d699
|
|
@ -40,7 +40,8 @@ public interface AlertManager extends Manager {
|
|||
public static final short ALERT_TYPE_CONSOLE_PROXY_MIGRATE = 15;
|
||||
public static final short ALERT_TYPE_USERVM_MIGRATE = 16;
|
||||
public static final short ALERT_TYPE_VLAN = 17;
|
||||
public static final short ALERT_TYPE_SSVM = 18;
|
||||
public static final short ALERT_TYPE_SSVM = 18;
|
||||
public static final short ALERT_TYPE_USAGE_SERVER_RESULT = 19; // Usage job result
|
||||
|
||||
void clearAlert(short alertType, long dataCenterId, long podId);
|
||||
void sendAlert(short alertType, long dataCenterId, Long podId, String subject, String body);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
/**
|
||||
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
|
||||
*
|
||||
* This software is licensed under the GNU General Public License v3 or later.
|
||||
*
|
||||
* It is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or any later version.
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.cloud.exception;
|
||||
|
||||
public class UsageServerException extends Exception {
|
||||
|
||||
public UsageServerException() {
|
||||
|
||||
}
|
||||
|
||||
public UsageServerException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue