Android
java.lang
public class

java.lang.ClassNotFoundException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.ClassNotFoundException

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

Summary

Public Constructors

            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.

Public Methods

          Throwable  getCause()
Returns the cause of this Throwable, or null if there is no cause.
          Throwable  getException()
Returns the exception which occurred when loading the class.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public ClassNotFoundException()

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

public 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.

public 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.

Public Methods

public Throwable getCause()

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

Returns

  • Throwable The receiver's cause.

public Throwable getException()

Returns the exception which occurred when loading the class.

Returns

  • Throwable The exception which occurred while loading the class.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48