Cross Reference: PreconditionException.java
xref
: /
owl-s
/
src
/
org
/
mindswap
/
exceptions
/
PreconditionException.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2
ronwalf
/*
2
ronwalf
* Created on Jan 5, 2005
2
ronwalf
*/
2
ronwalf
package
org
.
mindswap
.
exceptions
;
2
ronwalf
2
ronwalf
import
org
.
mindswap
.
owls
.
process
.
Condition
;
2
ronwalf
import
org
.
mindswap
.
owls
.
process
.
Process
;
2
ronwalf
2
ronwalf
/**
2
ronwalf
*
@author
Evren Sirin
2
ronwalf
*
2
ronwalf
*/
2
ronwalf
public
abstract
class
PreconditionException
extends
ExecutionException
{
2
ronwalf
protected
Process
process
;
2
ronwalf
protected
Condition
condition
;
2
ronwalf
2
ronwalf
public
PreconditionException
(
Process
process
,
Condition
condition
) {
2
ronwalf
this
.
process
=
process
;
2
ronwalf
this
.
condition
=
condition
;
2
ronwalf
}
2
ronwalf
2
ronwalf
public
Process
getProcess
() {
2
ronwalf
return
process
;
2
ronwalf
}
2
ronwalf
2
ronwalf
public
Condition
getCondition
() {
2
ronwalf
return
condition
;
2
ronwalf
}
2
ronwalf
}