Class VulkanCallFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class VulkanCallFailedException
    extends VulkanException
    An exception raised by a failing Vulkan call.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VulkanCallFailedException​(int in_code, java.lang.String in_function, java.lang.String message)
      Construct an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int errorCode()  
      java.lang.String function()  
      int hashCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VulkanCallFailedException

        public VulkanCallFailedException​(int in_code,
                                         java.lang.String in_function,
                                         java.lang.String message)
        Construct an exception.
        Parameters:
        in_code - The returned error code
        in_function - The function that failed
        message - The error message
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • function

        public java.lang.String function()
        Returns:
        The name of the function that failed
      • errorCode

        public int errorCode()
        Returns:
        The error code returned by the function that failed