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.

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

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 (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.