API reference

MRUKNativeResultException Class

Extends Exception
Modifiers: final
Exception thrown when MRUK native operations fail.
This exception is thrown by MRUK native functions when they encounter errors during execution. The errorCode contains the specific error that occurred, which can be mapped to MRUKNativeResult enum values for detailed error handling.

See Also

  • MRUKNativeResult

Signature

class MRUKNativeResultException(val errorCode: Int) : Exception

Constructors

MRUKNativeResultException ( errorCode )
Signature
constructor(errorCode: Int)
Parameters
errorCode: Int  The native error code indicating the specific failure reason
Returns
MRUKNativeResultException

Properties

cause : Throwable?
[Get]
Signature
open val cause: Throwable?
errorCode : Int
[Get]
The native error code indicating the specific failure reason
Signature
val errorCode: Int
message : String?
[Get]
Signature
open val message: String?

Methods

addSuppressed ( p0 )
Signature
fun addSuppressed(p0: Throwable)
Parameters
p0: Throwable
fillInStackTrace ()
Signature
open fun fillInStackTrace(): Throwable
Returns
Throwable
getLocalizedMessage ()
Signature
open fun getLocalizedMessage(): String
Returns
String
getStackTrace ()
Signature
open fun getStackTrace(): Array<StackTraceElement>
Returns
Array
getSuppressed ()
Signature
fun getSuppressed(): Array<Throwable>
Returns
Array
initCause ( p0 )
Signature
open fun initCause(p0: Throwable): Throwable
Parameters
p0: Throwable
Returns
Throwable
printStackTrace ()
Signature
open fun printStackTrace()
printStackTrace ( p0 )
Signature
open fun printStackTrace(p0: PrintStream)
Parameters
p0: PrintStream
printStackTrace ( p0 )
Signature
open fun printStackTrace(p0: PrintWriter)
Parameters
p0: PrintWriter
setStackTrace ( p0 )
Signature
open fun setStackTrace(p0: Array<StackTraceElement>)
Parameters
p0: Array