de.saar.chorus.domgraph.codec
Class MalformedDomgraphException

Object
  extended by Throwable
      extended by Exception
          extended by MalformedDomgraphException
All Implemented Interfaces:
Serializable

public class MalformedDomgraphException
extends Exception

An exception representing semantic errors in codecs. Such exceptions are thrown if it turns out that a USR cannot be processed using a certain input or output codec.

What's special about this exception class is that the codec can specify an exit code. This exit code will then be used as an exit code in the main program (Utool or Utool Server). Valid exit codes are the numbers 0 ... 31 (the rightmost five bits); every codec can assign these codes as it wishes.

Author:
Alexander Koller
See Also:
Serialized Form

Constructor Summary
MalformedDomgraphException()
           
MalformedDomgraphException(int exitcode)
           
MalformedDomgraphException(String message)
           
MalformedDomgraphException(String message, int exitcode)
           
MalformedDomgraphException(String message, Throwable cause)
           
MalformedDomgraphException(String message, Throwable cause, int exitcode)
           
MalformedDomgraphException(Throwable cause)
           
MalformedDomgraphException(Throwable cause, int exitcode)
           
 
Method Summary
 int getExitcode()
           
 String toString()
           
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MalformedDomgraphException

public MalformedDomgraphException(int exitcode)

MalformedDomgraphException

public MalformedDomgraphException(String message,
                                  Throwable cause,
                                  int exitcode)

MalformedDomgraphException

public MalformedDomgraphException(String message,
                                  int exitcode)

MalformedDomgraphException

public MalformedDomgraphException(Throwable cause,
                                  int exitcode)

MalformedDomgraphException

public MalformedDomgraphException()

MalformedDomgraphException

public MalformedDomgraphException(String message,
                                  Throwable cause)

MalformedDomgraphException

public MalformedDomgraphException(String message)

MalformedDomgraphException

public MalformedDomgraphException(Throwable cause)
Method Detail

getExitcode

public int getExitcode()

toString

public String toString()
Overrides:
toString in class Throwable