Class ClientException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClientException
    extends SubversionException
    This exception is thrown whenever something goes wrong in the Subversion JavaHL binding's JNI interface.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ClientException fromException​(java.lang.Throwable t)
      A conversion routine for maintaining backwards compatibility.
      int getAprError()  
      java.lang.String getMessage()  
      java.lang.String getSource()  
      • Methods inherited from class java.lang.Throwable

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

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

      • fromException

        public static ClientException fromException​(java.lang.Throwable t)
        A conversion routine for maintaining backwards compatibility.
        Parameters:
        t - The exception to (potentially) convert.
        Returns:
        t coerced or converted into a ClientException.
      • getSource

        public java.lang.String getSource()
        Returns:
        The error source (e.g. line number).
      • getAprError

        public int getAprError()
        Returns:
        Any associated APR error code for a wrapped svn_error_t.
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        The description, with source and aprError appended (if any).