Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

ClassNotFoundException Class Reference

Inherits java::lang::Exception.

List of all members.


Detailed Description

This exception is thrown when a classloader is unable to find a class.

Public Member Functions

 ClassNotFoundException ()
 Constructs a new instance of this class with its walkback filled in.
 ClassNotFoundException (String detailMessage)
 Constructs a new instance of this class with its walkback and message filled in.
 ClassNotFoundException (String detailMessage, Throwable exception)
 Constructs a new instance of this class with its walkback, message and exception filled in.
Throwable getException ()
 Answers the exception which occurred when loading the class.
Throwable getCause ()
 Answers the cause of this Throwable, or null if there is no cause.

Private Attributes

Throwable ex

Static Private Attributes

static final long serialVersionUID = 9176873029745254542L

Constructor & Destructor Documentation

Constructs a new instance of this class with its walkback filled in.

ClassNotFoundException ( String  detailMessage  ) 

Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage String The detail message for the exception.

ClassNotFoundException ( String  detailMessage,
Throwable  exception 
)

Constructs a new instance of this class with its walkback, message and exception filled in.

Parameters:
detailMessage String The detail message for the exception.
exception Throwable The exception which occurred while loading the class.


Member Function Documentation

Throwable getException (  ) 

Answers the exception which occurred when loading the class.

Returns:
Throwable The exception which occurred while loading the class.

Throwable getCause (  ) 

Answers the cause of this Throwable, or null if there is no cause.

Returns:
Throwable The receiver's cause.

Reimplemented from Throwable.


Member Data Documentation

final long serialVersionUID = 9176873029745254542L [static, private]

Reimplemented from Exception.

Throwable ex [private]