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
12 INVALID_VAR_ID // the specified variable ID is not found in the database
16 private String[] m_info;
18 private static final long serialVersionUID = 1L;
20 public StoreException(Type type, String... info) {
27 public StoreException(Throwable cause, Type type, String... info) {
34 public Type getType() { return m_type; }
37 public String toString() {
38 return "" + getClass().getName() + ": " + m_type + ": " + Arrays.toString(m_info);