Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ThrowNew(IntPtr, string)

Constructs an exception object from the specified class with the \<tt\>message\</tt\> specified by message and causes that exception to be thrown.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static int ThrowNew(IntPtr clazz, string message)

Parameters

clazz


message

Returns

Type

Description

int

Remarks