KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > OzoneRemoteException


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: OzoneRemoteException.java,v 1.3 2002/10/15 20:41:16 mediumnet Exp $
8

9 package org.ozoneDB;
10
11
12 /**
13  * Base class of all exceptions that may be thrown by ozone API methods.
14  *
15  * If OzoneRemoteException is required to be catched, ozone user applications will have "throws OzoneRemoteException" or "throws Exception" located all over the place, without the benefits of exceptions, i.e. providing fine grained error handling
16  *
17  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
18  * @author Per Nyfelt
19  * @version $Revision: 1.3 $Date: 2002/10/15 20:41:16 $
20  */

21 public class OzoneRemoteException extends RuntimeException JavaDoc {
22
23
24     public OzoneRemoteException() {
25         super();
26     }
27
28     public OzoneRemoteException(String JavaDoc message) {
29         super(message);
30     }
31
32     public OzoneRemoteException(String JavaDoc message, Throwable JavaDoc cause) {
33         super(message, cause);
34     }
35
36     public OzoneRemoteException(Throwable JavaDoc cause) {
37         super(cause);
38     }
39
40 }
41
Popular Tags