# Class VulkanCallFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.jcoronado.api.VulkanException
com.io7m.jcoronado.api.VulkanCallFailedException

All Implemented Interfaces:
  `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, String in_function, String message)`
  Construct an exception.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `errorCode()`
  `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 Details

  - ### VulkanCallFailedException

    public VulkanCallFailedException(int in_code, String in_function, String message)
    Construct an exception.
    Parameters:
      `in_code` - The returned error code
      `in_function` - The function that failed
      `message` - The error message

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### function

    public String function()
    Returns:
      The name of the function that failed

  - ### errorCode

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