Class RevisionSyntaxException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RevisionSyntaxException
    extends java.lang.IllegalArgumentException
    This signals a revision or object reference was not properly formatted.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String revstr  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      RevisionSyntaxException​(java.lang.String revstr)
      Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
      RevisionSyntaxException​(java.lang.String message, java.lang.String revstr)
      Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • revstr

        private final java.lang.String revstr
    • Constructor Detail

      • RevisionSyntaxException

        public RevisionSyntaxException​(java.lang.String revstr)
        Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
        Parameters:
        revstr - The problematic revision string
      • RevisionSyntaxException

        public RevisionSyntaxException​(java.lang.String message,
                                       java.lang.String revstr)
        Construct a RevisionSyntaxException indicating a syntax problem with a revision (or object) string.
        Parameters:
        message - a specific reason
        revstr - The problematic revision string
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable