1 18 package org.osgi.service.prefs; 19 20 26 public class BackingStoreException extends Exception { 27 static final long serialVersionUID = -1415637364122829574L; 28 31 private final Throwable cause; 32 33 39 public BackingStoreException(String s) { 40 super(s); 41 this.cause = null; 42 } 43 44 52 public BackingStoreException(String s, Throwable cause) { 53 super(s); 54 this.cause = cause; 55 } 56 57 65 public Throwable getCause() { 66 return cause; 67 } 68 69 79 public Throwable initCause(Throwable cause) { 80 throw new IllegalStateException (); 81 } 82 83 } 84 | Popular Tags |