1 19 20 package com.sslexplorer.vfs.webdav; 21 22 import java.io.IOException ; 23 24 27 public class DAVAuthenticationRequiredException extends IOException { 28 29 private static final long serialVersionUID = 6441564703419942759L; 30 private String httpRealm; 31 private boolean hasCredentials; 32 33 38 public DAVAuthenticationRequiredException(String httpRealm, boolean hasCredentials) { 39 super("Authentication Required."); 40 this.httpRealm = httpRealm; 41 this.hasCredentials = hasCredentials; 42 } 43 44 47 public String getHttpRealm() { 48 return httpRealm; 49 } 50 51 54 public boolean hasCredentials() { 55 return hasCredentials; 56 } 57 } 58 | Popular Tags |