org.media.mn8.event
Class mn8Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.media.mn8.event.mn8Exception
- All Implemented Interfaces:
- Serializable
- public class mn8Exception
- extends RuntimeException
The basic mn8 exception class.
In mn8 all signaling of user messages is done through
exceptions. All mn8 exceptions are derived from this
class, and having separate exception types for different
kind of exceptions (general system errors and warnings,
mn8 interpretation specific errors). In this way a user can
choose the amount of information wanted, and use it's custom
message handling utilities. Ex: general errors go on screen, mn8
warning go to email.
For normal interpretation, all exceptions are caught by the
LogManager and displayed on the system console.
- Version:
- $Revision: 1.1 $ $Date: 2001/08/06 08:42:06 $
- Author:
- Remus Pereni
- See Also:
LogManager
,
Serialized Form
mn8Exception
public mn8Exception(String message)
mn8Exception
public mn8Exception(String type_id,
String message_id)
mn8Exception
public mn8Exception(String type_id,
String message_id,
String optional,
String suplement)
mn8Exception
public mn8Exception(String type_id,
String message_id,
String optional)
setGeneratorException
public void setGeneratorException(Exception initialException)
getGeneratorException
public Exception getGeneratorException()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
setMessageTypeId
public void setMessageTypeId(String messageTypeId)
getMessageTypeId
public String getMessageTypeId()
setMessageId
public void setMessageId(String messageId)
getMessageId
public String getMessageId()
setOptionalInfo
public void setOptionalInfo(String optionalInfo)
getOptionalInfo
public String getOptionalInfo()
setSuplementaryInfo
public void setSuplementaryInfo(String suplemantaryInfo)
getSuplementaryInfo
public String getSuplementaryInfo()
toString
public String toString()
- Overrides:
toString
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter w)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."