PATH  Documentation > Mac OS X > Foundation Reference: Java



Table of Contents

NSException


Inherits from:
java.lang.RuntimeException
Package:
com.apple.yellow.foundation


Class Description


Description forthcoming.




Method Types


Constructors
NSException
Querying an NSException
getStackTrace
name
toString
userInfo


Constructors



NSException

public NSException()

Description forthcoming.

public NSException(String aString)

Description forthcoming.

public NSException( String name, String reason, Object userInfo)

Creates an NSException object using a predefined name, a human-readable reason, and arbitrary userInfo.


Static Methods



getStackTrace

public static String getStackTrace(Throwable anException)

Description forthcoming.


Instance Methods



name

public String name()

Returns a String used to uniquely identify the exception.

toString

public String toString()

Returns the receiver's reason, so that formatted strings produce a meaningful description of the exception.

userInfo

public Object userInfo()

Returns an Object that contains application-specific data pertaining to the receiver. Returns null if no application-specific data exists. As an example, if a method's return value caused the exception to be thrown, the return value might be available to the exception handler through this method.


Table of Contents