1 21 22 package org.apache.derby.iapi.services.diag; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import java.util.Properties ; 27 28 34 35 public class DiagnosticableGeneric implements Diagnosticable 36 { 37 40 protected Object diag_object = null; 41 42 43 public DiagnosticableGeneric() 44 { 45 } 46 47 50 public void init(Object obj) 51 { 52 this.diag_object = obj; 54 } 55 56 70 public String diag() 71 throws StandardException 72 { 73 return(diag_object.toString()); 74 } 75 76 85 public void diag_detail(Properties prop) 86 throws StandardException 87 { 88 return; 89 } 90 } 91 | Popular Tags |