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

Constructor Summary
CoComposeException()
          Constructs a CoComposeException
CoComposeException(java.lang.String s)
          Constructs a CoComposeException
CoComposeException(java.lang.String s, AbstractConcept concept)
          Constructs a CoComposeException
CoComposeException(java.lang.String s, AbstractConcept concept, java.lang.String type)
          Constructs a CoComposeException.
CoComposeException(java.lang.String s, CoComposeException from)
          Constructs a CoComposeException
 
Method Summary
 AbstractConcept getConcept()
          Gets the subject concept of the exception.
 java.lang.String getType()
          Gets the type of the exception.
 
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
 

Constructor Detail

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 message
concept - - the exception subject

CoComposeException

public CoComposeException(java.lang.String s,
                          AbstractConcept concept,
                          java.lang.String type)
Constructs a CoComposeException.
Parameters:
s - - the error message
concept - - the exception subject
type - - the error type

CoComposeException

public CoComposeException(java.lang.String s,
                          CoComposeException from)
Constructs a CoComposeException
Parameters:
s - - the error message
from - - the exception to copy
Method Detail

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.