Java Code Examples for org.tmatesoft.svn.core.SVNException#getMessage()

The following examples show how to use org.tmatesoft.svn.core.SVNException#getMessage() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SvnKitPropget.java    From StatSVN with GNU Lesser General Public License v3.0 4 votes vote down vote up
protected void handleSvnException(SVNException ex) throws IOException {
    String msg = "svn propget " + ex.getMessage();
    SvnConfigurationOptions.getTaskLogger().error(msg);
    throw new IOException(msg);
}
 
Example 2
Source File: SvnKitInfo.java    From StatSVN with GNU Lesser General Public License v3.0 4 votes vote down vote up
protected void handleSvnException(SVNException ex) throws IOException {
    String msg = "svn info " + ex.getMessage();
    SvnConfigurationOptions.getTaskLogger().error(msg);
    throw new IOException(msg);
}
 
Example 3
Source File: SvnKitDiff.java    From StatSVN with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Logs svn exceptions and transforms them into IOExceptions to fit in the existing framework 
 * 
 * @param ex the exception 
 * @throws IOException a re-thrown exception 
 */
private void handleSvnException(SVNException ex) throws IOException {
    String msg = "svn diff " + ex.getMessage();
    SvnConfigurationOptions.getTaskLogger().error(msg);
    throw new IOException(msg);
}