/* * Copyright 2001-2008 Geert Bevin (gbevin[remove] at uwyn dot com) * Licensed under the Apache License, Version 2.0 (the "License") * $Id: HasContentDataErrorException.java 3918 2008-04-14 17:35:35Z gbevin $ */ package com.uwyn.rife.cmf.dam.contentstores.exceptions; import com.uwyn.rife.cmf.dam.exceptions.ContentManagerException; import com.uwyn.rife.database.exceptions.DatabaseException; public class HasContentDataErrorException extends ContentManagerException { private static final long serialVersionUID = 3463539434963036313L; private int mId = -1; public HasContentDataErrorException(int id, DatabaseException cause) { super("Unexpected error the presence of content with the id '"+id+"'.", cause); mId = id; } public int getId() { return mId; } }