Class CFStreamErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CFStreamErrorException
    extends java.lang.RuntimeException
    CFStreamErrorException extends from RuntimeException and wraps CFStreamError. It is used throughout the Cocoa frameworks on methods that return pointers to CFStreamError. Use getError() to get the CFStreamError instance that was used to instantiate this exception.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CFStreamError getError()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • CFStreamErrorException

        public CFStreamErrorException​(CFStreamError error)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable