Oracle Coherence for C++ API


ClassCastException Class Reference

#include <coherence/lang/ClassCastException.hpp>

Inherits RuntimeException.

Inherited by ConstCastException.

List of all members.

Detailed Description

Thrown when an attempt is made to cast to an incompatible type.

mf 2008.05.14

Public Types

typedef spec::Handle Handle
 ClassCastException Handle definition.
typedef spec::View View
 ClassCastException View definition.
typedef spec::Holder Holder
 ClassCastException Holder definition.

Protected Member Functions

 ClassCastException (String::View vsMessage=String::null_string, Exception::View vCause=NULL)
 Create an ClassCastException.

Constructor & Destructor Documentation

ClassCastException ( String::View  vsMessage = String::null_string,
Exception::View  vCause = NULL 
) [protected]

Create an ClassCastException.

vsMessage the exception message
vCause the underlying cause of the exception; can be NULL

The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.