23 #ifndef __ccxx_JavaException_hxx 24 #define __ccxx_JavaException_hxx 43 inline virtual void write(std::ostream& stream)
const 44 { _write(stream,
"JavaException"); }
57 inline void write(std::ostream& stream)
const 58 { _write(stream,
"JavaSignatureException"); }
72 inline void write(std::ostream& stream)
const 73 { _write(stream,
"JavaClassNotFoundException"); }
88 inline void write(std::ostream& stream)
const 89 { _write(stream,
"JavaMethodNotFoundException"); }
104 inline void write(std::ostream& stream)
const 105 { _write(stream,
"JavaFieldNotFoundException"); }
120 inline void write(std::ostream& stream)
const 121 { _write(stream,
"JavaInstantiationException"); }
136 inline void write(std::ostream& stream)
const 137 { _write(stream,
"JavaInvocationException"); }
151 inline void write(std::ostream& stream)
const 152 { _write(stream,
"JavaFieldAccessException"); }
167 inline void write(std::ostream& stream)
const 168 { _write(stream,
"JavaArrayAccessException"); }
183 inline void write(std::ostream& stream)
const 184 { _write(stream,
"JavaOutOfMemoryException"); }
198 inline void write(std::ostream& stream)
const 199 { _write(stream,
"JavaMonitorException"); }
214 inline void write(std::ostream& stream)
const 215 { _write(stream,
"JavaThreadException"); }
230 inline void write(std::ostream& stream)
const 231 { _write(stream,
"JavaNotAttachedException"); }
251 inline void write(std::ostream& stream)
const 252 { _write(stream,
"JavaClassLoaderException"); }
257 #endif // __ccxx_JavaException_hxx
An exception indicating that a requested method of a Java class was not found.
Definition: JavaException.h++:82
An exception indicating that a requested Java class was not found.
Definition: JavaException.h++:66
#define COMMONCPPJVM_API
Definition: Common.h++:128
static const String empty
The empty string.
Definition: String.h++:1134
An exception indicating a native thread attach or detach operation failed.
Definition: JavaException.h++:208
A base class for all Java Virtual Machine exceptions.
Definition: JavaException.h++:36
An exception indicating an illegal monitor state.
Definition: JavaException.h++:192
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:214
An exception indicating that a call was made from a native thread that is not attached to the JVM...
Definition: JavaException.h++:224
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:151
An exception indicating exhaustion of heap space in the Java Virtual Machine.
Definition: JavaException.h++:177
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:167
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:136
An exception indicating that a requested field of a Java class was not found.
Definition: JavaException.h++:98
An exception indicating that a Java exception occurred while invoking a Java method.
Definition: JavaException.h++:130
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:198
An exception indicating that a Java method signature string was malformed.
Definition: JavaException.h++:51
virtual void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:43
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:251
An exception indicating an attempt to store a value of an inappropriate type into a Java array...
Definition: JavaException.h++:161
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:104
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:230
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:57
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:88
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:120
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:183
An exception indicating that an error occurred while instantiating a Java class.
Definition: JavaException.h++:114
void write(std::ostream &stream) const
Write a textual representation of the exception to a stream.
Definition: JavaException.h++:72
An exception indicating that the raw bytecode for a class could not be loaded because of a class form...
Definition: JavaException.h++:241
Definition: AllocationMap.c++:25
An exception indicating an attempt at an invalid field access.
Definition: JavaException.h++:145
A general-purpose exception.
Definition: Exception.h++:39