1 23 24 package org.apache.slide.content; 25 26 import org.apache.slide.util.Messages; 27 28 34 public class InsufficientStorageException 35 extends ContentException { 36 37 38 40 41 48 public InsufficientStorageException(String objectUri, String userUri, 49 String details) { 50 super(Messages.format(InsufficientStorageException.class.getName(), 51 objectUri, userUri, details)); 52 53 this.objectUri = objectUri; 54 this.userUri = userUri; 55 this.details = details; 56 } 57 58 59 61 62 65 private String objectUri; 66 67 68 71 private String userUri; 72 73 74 77 private String details; 78 79 80 82 83 88 public String getObjectUri() { 89 90 if (objectUri == null) { 91 return new String (); 92 } else { 93 return objectUri; 94 } 95 } 96 97 98 103 public String getUserUri() { 104 105 return userUri; 106 } 107 108 109 114 public String getDetails() { 115 116 return details; 117 } 118 119 120 } 121 122 | Popular Tags |