public class MWException
extends java.lang.Exception
MWException class is used to raise an exception during a method
call on a MATLAB compiler generated object.| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
printStackTrace()
print out the stack trace.
|
void |
printStackTrace(java.io.PrintStream s)
print out the stack trace to the specified PrintStream.
|
void |
printStackTrace(java.io.PrintWriter s)
print out the stack trace to the specified PrintStream.
|
public MWException()
MWException with a default detail message.public MWException(java.lang.String msg)
MWException with the specified detail message.msg - The detail message.public MWException(java.lang.String msg,
java.lang.String[] stackTrace,
int stackDepth)
MWException with the specified message and stack trace strings.public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwable© 1994-2008 The MathWorks, Inc. Terms of Use Patents Trademarks