Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
MapleException.MapleException - MapleException class constructor
Calling Sequence
MapleException(MapleException me)
MapleException(Exception e)
MapleException(String msg)
MapleException(String msg, Object o1)
MapleException(String msg, Object o1, Object o2)
Parameters
me
-
MapleException to copy
e
Exception to copy
msg
error message
o1
data to pass with the error
o2
Description
MapleException is the constructor for the MapleException class. This class is used in Java External Calling (see define_external) and Java Open Maple (see OpenMaple) for passing errors between Maple and Java.
If MapleException is given an existing MapleException me, the new MapleException is a copy of me.
Giving MapleException an existing Exception e, is equivalent to calling MapleException(e.getMessage()).
If a String msg is passed, the MapleException is created using msg as the error message.
If a String msg and one or two Objects (o1, o2) are passed, the MapleException is created using msg as the error message. The data objects are inserted into the error message, replacing %1 and %2. This behavior attempts to mimic that of error. The Object o1 must be one of java.lang.Boolean, java.lang.Byte, java.lang.Character, java.lang.Double, java.lang.Float, java.lang.Integer, java.lang.Long, java.lang.Short, or java.lang.String.
See Also
define_external, ExternalCalling, OpenMaple, OpenMaple/Java/API
Download Help Document