1 package net.jaekl.cfb.store;
3 import java.util.Arrays;
5 import net.jaekl.cfb.CfbException;
7 public class StoreException extends CfbException {
9 UNKNOWN_PATTERN, // bug pattern type is not found in the message collection
10 UNKNOWN_CATEGORY, // bug category is not found in the message collection
11 INVALID_LOC_ID // the specified location ID is not found in the database
15 private String[] m_info;
17 private static final long serialVersionUID = 1L;
19 public StoreException(Type type, String... info) {
26 public StoreException(Throwable cause, Type type, String... info) {
33 public Type getType() { return m_type; }
36 public String toString() {
37 return "" + getClass().getName() + ": " + m_type + ": " + Arrays.toString(m_info);