• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • htmesh
SpatialException.h
Go to the documentation of this file.
1 //# Filename: SpatialException.h
2 //#
3 //# Author: Peter Z Kunszt based on John Doug Reynolds'code
4 //#
5 //# Date: March 1998
6 //#
7 //# Copyright (C) 2000 Peter Z. Kunszt, Alex S. Szalay, Aniruddha R. Thakar
8 //# The Johns Hopkins University
9 //#
10 //# Modification History:
11 //#
12 //# Oct 18, 2001 : Dennis C. Dinge -- Replaced ValVec with std::vector
13 //#
14 
15 #ifndef _SpatialException_h
16 #define _SpatialException_h
17 
18 #include "SpatialGeneral.h"
19 
28 class LINKAGE SpatialException {
29 public:
37  SpatialException( const char *what = 0, int defIndex = 1 ) throw();
38 
47  SpatialException( const char *context, const char *because,
48  int defIndex = 1) throw();
49 
51  SpatialException( const SpatialException& ) throw();
52 
54  SpatialException& operator=( const SpatialException& ) throw();
55 
57  virtual ~SpatialException() throw();
58 
60  virtual const char *what() const throw();
61 
63  int slen(const char *) const;
64 
66  void clear();
67 
69  static const char *defaultstr[];
70 
71 protected:
73  char * str_;
74 };
75 
82 class LINKAGE SpatialUnimplemented : public SpatialException {
83 public:
85  SpatialUnimplemented( const char *what = 0 ) throw();
86 
88  SpatialUnimplemented( const char *context, const char *because ) throw();
89 
91  SpatialUnimplemented( const SpatialUnimplemented& ) throw();
92 };
93 
102 class LINKAGE SpatialFailure : public SpatialException {
103 public:
105  SpatialFailure( const char *what = 0 ) throw();
106 
108  SpatialFailure( const char *context, const char *because ) throw();
109 
111  SpatialFailure( const char *context, const char *operation,
112  const char *resource, const char *because = 0 ) throw();
113 
115  SpatialFailure( const SpatialFailure& ) throw();
116 };
117 
126 class LINKAGE SpatialBoundsError : public SpatialException {
127 public:
129  SpatialBoundsError( const char *what = 0 ) throw();
130 
136  SpatialBoundsError( const char *context
137  , const char *array, int32 limit =-1, int32 index=-1 ) throw();
138 
140  SpatialBoundsError( const SpatialBoundsError& ) throw();
141 };
142 
152 class LINKAGE SpatialInterfaceError : public SpatialException {
153 public:
155  SpatialInterfaceError( const char *what = 0 ) throw();
156 
158  SpatialInterfaceError( const char *context, const char *because ) throw();
159 
161  SpatialInterfaceError( const char *context,
162  const char *argument, const char *because ) throw();
163 
165  SpatialInterfaceError( const SpatialInterfaceError& ) throw();
166 };
167 
168 #endif /* _SpatialException_h */
SpatialException
HTM SpatialIndex Exception base class This is the base class for all Science Archive exceptions...
Definition: SpatialException.h:28
SpatialFailure
SpatialException thrown on operational failure.
Definition: SpatialException.h:102
int32
int int32
Definition: SpatialGeneral.h:55
SpatialException::str_
char * str_
error string to assemble
Definition: SpatialException.h:73
SpatialInterfaceError
SpatialException thrown on violation of interface protocols.
Definition: SpatialException.h:152
SpatialUnimplemented
SpatialException thrown by unimplemented functions.
Definition: SpatialException.h:82
SpatialGeneral.h
SpatialBoundsError
SpatialException thrown on violation of array bounds.
Definition: SpatialException.h:126
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal