JML

org.multijava.util.msggen
Class MsggenError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.multijava.util.FormattedException
              extended byorg.multijava.util.msggen.MsggenError
All Implemented Interfaces:
Serializable

public class MsggenError
extends FormattedException

Error thrown on problems encountered while running the program.


Field Summary
 
Fields inherited from class org.multijava.util.FormattedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
MsggenError(Message message)
          An exception with a formatted message as argument
MsggenError(MessageDescription description)
          An exception without parameters
MsggenError(MessageDescription description, Object parameter)
          An exception with one parameter
MsggenError(MessageDescription description, Object parameter1, Object parameter2)
          An exception with two parameters
MsggenError(MessageDescription description, Object[] parameters)
          An exception with an arbitrary number of parameters
 
Method Summary
 
Methods inherited from class org.multijava.util.FormattedException
getErrorMessage, getFormattedMessage, getMessage, hasDescription
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsggenError

public MsggenError(Message message)
An exception with a formatted message as argument

Parameters:
message - the formatted message

MsggenError

public MsggenError(MessageDescription description,
                   Object[] parameters)
An exception with an arbitrary number of parameters

Parameters:
description - the message description
parameters - the array of parameters

MsggenError

public MsggenError(MessageDescription description,
                   Object parameter1,
                   Object parameter2)
An exception with two parameters

Parameters:
description - the message description
parameter1 - the first parameter
parameter2 - the second parameter

MsggenError

public MsggenError(MessageDescription description,
                   Object parameter)
An exception with one parameter

Parameters:
description - the message description
parameter - the parameter

MsggenError

public MsggenError(MessageDescription description)
An exception without parameters

Parameters:
description - the message description

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.