libcommonc++  0.7
JavaArrayAccessException Class Reference

An exception indicating an attempt to store a value of an inappropriate type into a Java array. More...

#include <JavaException.h++>

Inheritance diagram for JavaArrayAccessException:
Collaboration diagram for JavaArrayAccessException:

Public Member Functions

 JavaArrayAccessException (String message=String::empty)
 
void write (std::ostream &stream) const
 Write a textual representation of the exception to a stream. More...
 
String getMessage () const
 Get the message associated with the exception. More...
 
virtual const char * what () const throw ()
 Get the message associated with the exception. More...
 
String toString () const
 Get a textual representation of the exception as a String. More...
 

Protected Attributes

String _message
 The cause message. More...
 
CString _what
 

Detailed Description

An exception indicating an attempt to store a value of an inappropriate type into a Java array.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ JavaArrayAccessException()

Member Function Documentation

◆ getMessage()

String getMessage ( ) const
inlineinherited

Get the message associated with the exception.

◆ toString()

String toString ( ) const
inlineinherited

Get a textual representation of the exception as a String.

◆ what()

const char * what ( ) const
throw (
)
virtualinherited

Get the message associated with the exception.

◆ write()

void write ( std::ostream &  stream) const
inlinevirtual

Write a textual representation of the exception to a stream.

Reimplemented from JavaException.

Member Data Documentation

◆ _message

String _message
protectedinherited

The cause message.

◆ _what

CString _what
mutableprotectedinherited

The documentation for this class was generated from the following files: