Class MalformedDomgraphException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.saar.chorus.domgraph.codec.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:
  • Constructor Details

    • 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 Details

    • getExitcode

      public int getExitcode()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable