Main Content

com.mathworks.toolbox.javabuilder.MWException Class

Namespace: com.mathworks.toolbox.javabuilder

Java class to handle exceptions in MATLAB Compiler generated artifacts

Description

Declaration

public class MWException extends java.lang.Exception

The MWException class is used to raise an exception during a method call on a MATLAB compiler generated object

Implemented Interfaces: java.io.Serializable

Creation

Constructors

MWException()

Creates a new instance of MWException with a default detail message.

MWException(java.lang.String msg)

Constructs an instance of MWException with the specified detail message.

MWException(java.lang.String msg, java.lang.String[] stackTrace, int stackDepth)

Constructs an instance of MWException with the specified message and stack trace strings.

Methods

expand all

Version History

Introduced in R2006a