001// 002// Name 003// $RCSfile: DataError.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:37 $ 012// 013package com.kabira.platform; 014 015/** 016 * Data error exception. 017 * <p> 018 * This exception is thrown when a data mismatch, bad conversion, or 019 * unsupported type mismatch error occurrs. 020 */ 021public class DataError extends Error 022{ 023 /** 024 * Serialization version. 025 */ 026 public final static long serialVersionUID = 1L; 027 028 /** 029 * Creates a DataError exception. 030 */ 031 public DataError() { } 032 033 /** 034 * Creates a DataError exception. 035 * @param message String to include in the exception. 036 */ 037 public DataError(String message) 038 { 039 super(message); 040 } 041 042 /** 043 * Creates a DataError exception. 044 * @param message Message to include in the exception. 045 * @param cause The Throwable causing the exception. 046 */ 047 public DataError(String message, Throwable cause) 048 { 049 super(message, cause); 050 } 051}