No need for nestable exception. It's standard issue now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2316 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
//
|
//
|
||||||
// $Id: ObjectAccessException.java,v 1.4 2002/04/01 16:49:26 mdb Exp $
|
// $Id: ObjectAccessException.java,v 1.5 2003/03/23 01:54:20 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.presents.dobj;
|
package com.threerings.presents.dobj;
|
||||||
|
|
||||||
import org.apache.commons.lang.exception.NestableException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An object access exception is delivered when an object is not
|
* An object access exception is delivered when an object is not
|
||||||
* accessible to a requesting subscriber for some reason or other. For
|
* accessible to a requesting subscriber for some reason or other. For
|
||||||
@@ -12,7 +10,7 @@ import org.apache.commons.lang.exception.NestableException;
|
|||||||
* the error. For others, a message string explaining the access failure
|
* the error. For others, a message string explaining the access failure
|
||||||
* is provided.
|
* is provided.
|
||||||
*/
|
*/
|
||||||
public class ObjectAccessException extends NestableException
|
public class ObjectAccessException extends Exception
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructs a object access exception with the specified error
|
* Constructs a object access exception with the specified error
|
||||||
@@ -29,7 +27,8 @@ public class ObjectAccessException extends NestableException
|
|||||||
*/
|
*/
|
||||||
public ObjectAccessException (String message, Exception cause)
|
public ObjectAccessException (String message, Exception cause)
|
||||||
{
|
{
|
||||||
super(message, cause);
|
super(message);
|
||||||
|
initCause(cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -38,6 +37,6 @@ public class ObjectAccessException extends NestableException
|
|||||||
*/
|
*/
|
||||||
public ObjectAccessException (Exception cause)
|
public ObjectAccessException (Exception cause)
|
||||||
{
|
{
|
||||||
super(cause);
|
initCause(cause);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user