Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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