1 16 package javax.faces.convert; 17 18 import javax.faces.FacesException; 19 import javax.faces.application.FacesMessage; 20 21 33 public class ConverterException 34 extends FacesException 35 { 36 private FacesMessage _facesMessage; 38 39 public ConverterException() 41 { 42 super(); 43 } 44 45 public ConverterException(FacesMessage facesMessage) 46 { 47 super(facesMessage.getSummary()); 48 _facesMessage = facesMessage; 49 } 50 51 public ConverterException(FacesMessage facesMessage, Throwable cause) 52 { 53 super(cause); 54 _facesMessage = facesMessage; 55 } 56 57 public ConverterException(String message) 58 { 59 super(message); 60 } 61 62 public ConverterException(String message, Throwable cause) 63 { 64 super(message, cause); 65 } 66 67 public ConverterException(Throwable cause) 68 { 69 super(cause); 70 } 71 72 public FacesMessage getFacesMessage() 74 { 75 return _facesMessage; 76 } 77 78 } 79 | Popular Tags |