/* * Copyright 2001-2008 Geert Bevin (gbevin[remove] at uwyn dot com) * Licensed under the Apache License, Version 2.0 (the "License") * $Id: RetrieveSizeErrorException.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 RetrieveSizeErrorException extends ContentManagerException { private static final long serialVersionUID = -5567272822506458691L; private int mId = -1; public RetrieveSizeErrorException(int id, DatabaseException cause) { super("Unexpected error while retrieving the size of the content with the id '"+id+"'.", cause); mId = id; } public int getId() { return mId; } }