EDU.utwente.CoCompose.util
Class CoComposeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--EDU.utwente.CoCompose.util.CoComposeException
- All Implemented Interfaces:
- java.io.Serializable
- public class CoComposeException
- extends java.lang.Exception
Exception class for CoCompose model related exceptions.
- Version:
- 0.1.15, 20 October 2003
- Author:
- Dennis Wagelaar
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CoComposeException
public CoComposeException()
- Constructs a CoComposeException
CoComposeException
public CoComposeException(java.lang.String s)
- Constructs a CoComposeException
- Parameters:
s
- - the error message
CoComposeException
public CoComposeException(java.lang.String s,
AbstractConcept concept)
- Constructs a CoComposeException
- Parameters:
s
- - the error messageconcept
- - the exception subject
CoComposeException
public CoComposeException(java.lang.String s,
AbstractConcept concept,
java.lang.String type)
- Constructs a CoComposeException.
- Parameters:
s
- - the error messageconcept
- - the exception subjecttype
- - the error type
CoComposeException
public CoComposeException(java.lang.String s,
CoComposeException from)
- Constructs a CoComposeException
- Parameters:
s
- - the error messagefrom
- - the exception to copy
getConcept
public AbstractConcept getConcept()
- Gets the subject concept of the exception.
- Returns:
- The subject concept.
getType
public java.lang.String getType()
- Gets the type of the exception.
- Returns:
- The exception type.