de.unihalle.informatik.Alida.exceptions
Class ALDWorkflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.unihalle.informatik.Alida.exceptions.ALDException
              extended by de.unihalle.informatik.Alida.exceptions.ALDWorkflowException
All Implemented Interfaces:
java.io.Serializable

public class ALDWorkflowException
extends ALDException

Exception mainly thrown by de.unihalle.informatik.Alida.workflow.ALDWorkflow in case of failures.

Author:
posch
See Also:
Serialized Form

Nested Class Summary
static class ALDWorkflowException.WorkflowExceptionType
           
 
Field Summary
protected  ALDWorkflowException.WorkflowExceptionType type
          Type of exception object.
private static java.lang.String typeID
          Identifier string.
 
Fields inherited from class de.unihalle.informatik.Alida.exceptions.ALDException
comment
 
Constructor Summary
ALDWorkflowException(ALDWorkflowException.WorkflowExceptionType t, java.lang.String c)
          Constructor.
 
Method Summary
 java.lang.String getIdentString()
          Returns a (hopefully unique) identification string.
 java.lang.String getIdentStringWithoutType()
          Returns the ident string in a user-friendly format without type info.
 ALDWorkflowException.WorkflowExceptionType getType()
          Returns the type of this exception.
 
Methods inherited from class de.unihalle.informatik.Alida.exceptions.ALDException
getCommentString, getExceptionID, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected ALDWorkflowException.WorkflowExceptionType type
Type of exception object.


typeID

private static final java.lang.String typeID
Identifier string.

See Also:
Constant Field Values
Constructor Detail

ALDWorkflowException

public ALDWorkflowException(ALDWorkflowException.WorkflowExceptionType t,
                            java.lang.String c)
Constructor.

Parameters:
t - Exception type.
c - Comment string.
Method Detail

getIdentString

public java.lang.String getIdentString()
Description copied from class: ALDException
Returns a (hopefully unique) identification string.

Specified by:
getIdentString in class ALDException

getIdentStringWithoutType

public java.lang.String getIdentStringWithoutType()
Returns the ident string in a user-friendly format without type info.

Returns:
Condensed ident string.

getType

public ALDWorkflowException.WorkflowExceptionType getType()
Returns the type of this exception.