Skip to main content

ModelCenter APIs 2026 R1

ModelCenterException

Last update: 18.06.2026

public class ModelCenterException : Exception

This class wraps exceptions thrown by the ModelCenter native methods.

Author

Haisma, 2/2000

See also

ModelCenter

Constructors

ModelCenterException constructor()constructor(s: String)constructor(cause: Throwable)constructor(s: String, cause: Throwable)

Properties

Name Summary
cause open val cause: Throwable
stackTrace open var stackTrace: Array<StackTraceElement>

Functions

Name Summary
addSuppressed fun addSuppressed(exception: Throwable)
fillInStackTrace public fillInStackTrace(): Throwable
getLocalizedMessage public getLocalizedMessage(): String
getMessage public getMessage(): String
getSuppressed fun getSuppressed(): Array<Throwable>
initCause public initCause(cause: Throwable): Throwable
printStackTrace public printStackTrace()
toString public toString(): String

Connect with Ansys