Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.quicktime
Class NSErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.java.sip.communicator.impl.neomedia.quicktime.NSErrorException
All Implemented Interfaces:
Serializable

public class NSErrorException
extends Exception

Defines an Exception which reports an NSError.

Author:
Lubomir Marinov
See Also:
Serialized Form

Constructor Summary
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
 NSError getError()
          Gets the NSError reported by this instance.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.