1 48 49 package org.jpublish.component; 50 51 import org.jpublish.EntityNotFoundException; 52 53 58 59 public class ComponentNotFoundException extends EntityNotFoundException { 60 61 private String id = null; 62 63 68 69 public ComponentNotFoundException(String id) { 70 this(null, null, id); 71 } 72 73 79 80 public ComponentNotFoundException(String message, String id) { 81 this(message, null, id); 82 } 83 84 90 91 public ComponentNotFoundException(Throwable t, String id) { 92 this(null, t, id); 93 } 94 95 102 103 public ComponentNotFoundException(String message, Throwable t, String id) { 104 super(message, t); 105 this.id = id; 106 } 107 108 113 114 public String getComponentId() { 115 return id; 116 } 117 118 } 119 | Popular Tags |