Class ErrorCandidate

java.lang.Object
org.jrd.backend.communication.ErrorCandidate
Direct Known Subclasses:
TopLevelErrorCandidate

public class ErrorCandidate extends Object
  • Field Details

  • Constructor Details

    • ErrorCandidate

      public ErrorCandidate(String line)
  • Method Details

    • getIdentifier

      protected String getIdentifier()
    • getLine

      public String getLine()
    • isError

      public boolean isError()
    • getErrorMessage

      public String getErrorMessage()
    • toError

      public static String toError(String message)
    • toError

      public static String toError(Exception ex)
    • isErrorImpl

      private String isErrorImpl(String linex)
      Returns:
      null if line is not error, empty string or message otherwise