edu.rit.m2mi
Class SynthesisException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rit.m2mi.M2MIRuntimeException
                  extended by edu.rit.m2mi.SynthesisException
All Implemented Interfaces:
Serializable

public class SynthesisException
extends M2MIRuntimeException

Class SynthesisException encapsulates an exception thrown when M2MI is unable to synthesize or instantiate a handle class or a method invoker class. The SynthesisException's detail message and/or chained exception provide further information.

Class SynthesisException is an unchecked RuntimeException because it indicates an unrecoverable error condition, not a normal event that needs to be caught and handled.

See Also:
Serialized Form

Constructor Summary
SynthesisException()
          Construct a new synthesis exception with no detail message and no chained exception.
SynthesisException(String msg)
          Construct a new synthesis exception with the given detail message and no chained exception.
SynthesisException(String msg, Throwable exc)
          Construct a new synthesis exception with the given detail message and the given chained exception.
SynthesisException(Throwable exc)
          Construct a new synthesis exception with no detail message and the given chained exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

SynthesisException

public SynthesisException()
Construct a new synthesis exception with no detail message and no chained exception.


SynthesisException

public SynthesisException(String msg)
Construct a new synthesis exception with the given detail message and no chained exception.

Parameters:
msg - Detail message.

SynthesisException

public SynthesisException(Throwable exc)
Construct a new synthesis exception with no detail message and the given chained exception.

Parameters:
exc - Chained exception.

SynthesisException

public SynthesisException(String msg,
                          Throwable exc)
Construct a new synthesis exception with the given detail message and the given chained exception.

Parameters:
msg - Detail message.
exc - Chained exception.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.