Class ClientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
All Implemented Interfaces:
java.io.Serializable

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

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientException(java.lang.String message, java.lang.String source, int aprError)
    This constructor is only used by the native library.
    This constructor is for backward compat.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static ClientException
    fromException(java.lang.Throwable t)
    A conversion routine for maintaining backwards compatibility.

    Methods inherited from class org.tigris.subversion.javahl.NativeException

    getAprError, getMessage, 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
  • Field Details

  • Constructor Details

    • ClientException

      ClientException(java.lang.String message, java.lang.String source, int aprError)
      This constructor is only used by the native library.
      Parameters:
      message - A description of the problem.
      source - The error's source.
      aprError - Any associated APR error code for a wrapped svn_error_t.
    • ClientException

      ClientException(ClientException ex)
      This constructor is for backward compat.
  • Method Details

    • fromException

      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.