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()
Prints the stack trace.
|
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace to the specified PrintStream.
|
void |
printStackTrace(java.io.PrintWriter s)
Prints 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.msg
- message stringstackTrace
- stack tracestackDepth
- stack depthpublic void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
© 1994-2017 The MathWorks, Inc. Patents Trademarks