Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

ConstCastException Class Reference

#include <coherence/lang/ConstCastException.hpp>

Inherits ClassCastException.

List of all members.


Detailed Description

Thrown when an attempt is made to cast away constness from a Holder assigned from a View.

Author:
mf 2008.08.06
 

Public Types

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

Protected Member Functions

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

Constructor & Destructor Documentation

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

Create an ConstCastException.

Parameters:
 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.