001/* 002 * $RCSfile: TargetError.java,v $ 003 * $Revision: 1.1.2.3 $ $Date: 2010/03/06 00:05:50 $ 004 * 005 * Copyright 2009 Kabira Technologies, Inc. All rights reserved. 006 */ 007package com.kabira.platform.management; 008 009/** 010 * Thrown by the framework when a Target behaves incorrectly, or fails an 011 * audit at registration time. Examples are 012 * command methods not returning void, unsupported parameter types, etc. 013 */ 014public class TargetError extends java.lang.Error 015{ 016 private static final long serialVersionUID = 1; 017 018 /** 019 * Construct a TargetError. 020 * @param message Exception message 021 */ 022 TargetError(String message) 023 { 024 super(message); 025 } 026 027 /** 028 * Construct a TargetError. 029 * @param message Exception message 030 * @param cause the throwable causing the exception. 031 */ 032 TargetError(String message, Throwable cause) 033 { 034 super(message, cause); 035 } 036}