001// 002// Name 003// $RCSfile: Error.java,v $ 004// 005// Copyright 006// Confidential Property of Kabira Technologies, Inc. 007// Copyright 2007, 2010 by Kabira Technologies, Inc. 008// All rights reserved. 009// 010// History 011// $Revision: 1.1.2.2 $ $Date: 2010/05/11 23:50:38 $ 012// 013 014package com.kabira.platform; 015 016/** 017 * Non-Retryable exception base. 018 * <p> 019 * Base class for all non-retryable exceptions. 020 */ 021public class Error extends java.lang.Error 022{ 023 /** 024 * Serialization version. 025 */ 026 public final static long serialVersionUID = 1L; 027 028 /** 029 * Creates an Error exception. 030 */ 031 public Error() { } 032 033 /** 034 * Creates an Error exception. 035 * @param message String to include in the exception. 036 */ 037 public Error(String message) 038 { 039 super(message); 040 } 041 042 /** 043 * Creates an Error exception. 044 * @param message Message to include in the exception. 045 * @param cause The Throwable causing the exception. 046 */ 047 public Error(String message, Throwable cause) 048 { 049 super(message, cause); 050 } 051}