Class NSErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jitsi.impl.neomedia.quicktime.NSErrorException
-
- All Implemented Interfaces:
Serializable
public class NSErrorException extends Exception
Defines an Exception which reports an NSError.- Author:
- Lyubomir Marinov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NSErrorException(long errorPtr)Initializes a new NSErrorException instance which is to report a specific Objective-C NSError.NSErrorException(NSError error)Initializes a new NSErrorException instance which is to report a specific NSError.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSErrorgetError()Gets the NSError reported by this instance.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NSErrorException
public NSErrorException(long errorPtr)
Initializes a new NSErrorException instance which is to report a specific Objective-C NSError.- Parameters:
errorPtr- the pointer to the Objective-C NSError object to be reported by the new instance
-
NSErrorException
public NSErrorException(NSError error)
Initializes a new NSErrorException instance which is to report a specific NSError.- Parameters:
error- the NSError to be reported by the new instance
-
-
Method Detail
-
getError
public NSError getError()
Gets the NSError reported by this instance.- Returns:
- the NSError reported by this instance
-
-