|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.rubato.base.RubatoException
org.rubato.math.yoneda.RubatoFormException
public final class RubatoFormException
Exception thrown in cases of mismatched forms. This exception is thrown, among others, when a denotator of a given form is expected, but does not have that form.
Constructor Summary | |
---|---|
RubatoFormException(Form expected,
Form received,
java.lang.String src)
Creates a standard RubatoFormException with an automatically generated message. |
|
RubatoFormException(java.lang.String msg,
Form expected,
Form received)
Creates a standard RubatoFormException with a message. |
Method Summary | |
---|---|
Form |
getExpectedForm()
Returns the expected form. |
Form |
getReceivedForm()
Returns the actual (received) form. |
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 |
---|
public RubatoFormException(java.lang.String msg, Form expected, Form received)
expected
- the form that was requiredreceived
- the actual formmsg
- message of the exceptionpublic RubatoFormException(Form expected, Form received, java.lang.String src)
expected
- the form that was requiredreceived
- the actual formMethod Detail |
---|
public Form getReceivedForm()
public Form getExpectedForm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |