1 28 29 package com.opencms.defaults.master; 30 31 import org.opencms.main.CmsException; 32 33 import java.util.Vector ; 34 35 43 public class CmsPlausibilizationException extends Exception { 44 45 46 private Vector m_error=new Vector (); 47 48 52 public CmsPlausibilizationException(Vector error) { 53 m_error=error; 55 } 56 57 62 public Vector getErrorCodes() { 63 return m_error; 64 } 65 66 69 public String toString() { 70 StringBuffer output = new StringBuffer (); 71 output.append("[CmsPlauzibilizationException]: "); 72 for (int i=0; i<m_error.size(); i++) { 74 output.append("("+(String )m_error.elementAt(i)+") "); 75 } 76 77 return output.toString(); 78 } 79 } 80 | Popular Tags |