Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*
BERSERK - a BusinEss Runtime and SEcurity Resources Kit
Copyright (C) 2003 Goncalo Luiz
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
To contact Goncalo Luiz use the following e-mail address (use an @ instead of the _):
gedl_mega.ist.utl.pt
*/
/*
* @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
*
*
* Created at 19/Out/2003 , 17:31:29
*
*/
package pt.utl.ist.berserk.storage.digester.exceptions;
import pt.utl.ist.berserk.storage.exceptions.StorageException;
/**
* An storage-related exception, specific to the Digester storage mechanism.
* @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
*
*
* Created at 19/Out/2003 , 17:31:29
*
*/
public class StorageBrokerDigesterException
extends StorageException
{
/**
* Could not open the data file
*/
public static final int DATA_FILE_NOT_FOUND =
0;
/**
* There is a parse error in the data file
*/
public static final int DATA_FILE_PARSE_ERROR =
1;
/**
* The class found on data file does not exist.
*/
public static final int CLASS_NOT_FOUND =
2;
/**
* Builds a <code>StorageBrokerDigesterException</code> with the cause code
* @param error the error code
*/
public StorageBrokerDigesterException
(int error
)
{
super(error
);
}
/**
* Builds a <code>StorageBrokerDigesterException</code> with the cause and a textual description
* @param errorMsg the textual descritpion
* @param ex the cause the inner exception
*/
public StorageBrokerDigesterException
(1.5.0/docs/api/java/lang/String.html">String errorMsg,
1.5.0/docs/api/java/lang/Exception.html">Exception ex
)
{
super(errorMsg, ex
);
}
/**
* Builds a <code>StorageBrokerDigesterException</code> with the cause code and the inner exception
* @param error the error code
* @param ex the cause
*/
public StorageBrokerDigesterException
(int error,
1.5.0/docs/api/java/lang/Exception.html">Exception ex
)
{
super(error, ex
);
}
}