Class SVNClientException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SVNClientException
    extends java.lang.Exception
    A generic exception thrown from any ISVNClientAdapter methods
    Author:
    philip schatz
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SVNClientException()
      Constructs a new exception with null as its detail message.
      SVNClientException​(java.lang.String message)
      Constructs a new exception with the specified detail message.
      SVNClientException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      SVNClientException​(java.lang.Throwable cause)
      Constructs a new exception with the specified cause.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAprError()  
      boolean operationInterrupted()  
      void setAprError​(int aprError)  
      static SVNClientException wrapException​(java.lang.Exception e)
      Facorty method for creating a delegating/wrapping exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
    • Constructor Detail

      • SVNClientException

        public SVNClientException()
        Constructs a new exception with null as its detail message.
      • SVNClientException

        public SVNClientException​(java.lang.String message)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      • SVNClientException

        public SVNClientException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • SVNClientException

        public SVNClientException​(java.lang.Throwable cause)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • Method Detail

      • wrapException

        public static SVNClientException wrapException​(java.lang.Exception e)
        Facorty method for creating a delegating/wrapping exception.
        Parameters:
        e - exception to wrap SVNClientException around
        Returns:
        an SVNClientException instance
      • getAprError

        public int getAprError()
      • setAprError

        public void setAprError​(int aprError)
      • operationInterrupted

        public boolean operationInterrupted()