org.rubato.math.module.morphism
Class CompositionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rubato.base.RubatoException
              extended by org.rubato.math.module.morphism.CompositionException
All Implemented Interfaces:
java.io.Serializable

public final class CompositionException
extends RubatoException

Exception thrown if composition of morphisms fails. Examples of composition are: compose, sum, difference.

Author:
Gérard Milmeister
See Also:
Serialized Form

Constructor Summary
CompositionException(ModuleMorphism f, ModuleMorphism g)
          Creates a CompositionException with predefined message generated from f and g, which are the components of the composition, appended.
CompositionException(java.lang.String msg)
          Creates a CompositionExecption with the specified message.
CompositionException(java.lang.String msg, ModuleMorphism f, ModuleMorphism g)
          Creates a CompositionException with the specified message, with a predefined message generated from f and g, which are the components of the composition, appended.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositionException

public CompositionException(java.lang.String msg)
Creates a CompositionExecption with the specified message.


CompositionException

public CompositionException(java.lang.String msg,
                            ModuleMorphism f,
                            ModuleMorphism g)
Creates a CompositionException with the specified message, with a predefined message generated from f and g, which are the components of the composition, appended.


CompositionException

public CompositionException(ModuleMorphism f,
                            ModuleMorphism g)
Creates a CompositionException with predefined message generated from f and g, which are the components of the composition, appended.