com.vii.brillien.kernel.axiom.atomic.shaper.filters
Class ErrorCodeFilter

java.lang.Object
  extended by com.vii.brillien.kernel.axiom.atomic.shaper.filters.ErrorCodeFilter
All Implemented Interfaces:
Filter

public class ErrorCodeFilter
extends Object
implements Filter

Spcialized Filter type for filtering by error code


Field Summary
protected  int codeLB
           
protected  int codeUB
           
protected  byte mode
           
static byte MODE_EQUAL
           
static byte MODE_GREATER_OR_EQUAL
           
static byte MODE_GREATER_THAN
           
static byte MODE_LESS_OR_EQUAL
           
static byte MODE_LESS_THAN
           
static byte MODE_NOT_EQUAL
           
 
Constructor Summary
ErrorCodeFilter(int codeLB)
           
ErrorCodeFilter(int codeLB, byte mode)
           
ErrorCodeFilter(int codeLB, int codeUB)
           
 
Method Summary
protected  boolean innerInterest(BrillienException be)
           
 boolean interestedIn(BrillienException be)
          Tells wether the exception need to be transformed.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MODE_EQUAL

public static final byte MODE_EQUAL
See Also:
Constant Field Values

MODE_NOT_EQUAL

public static final byte MODE_NOT_EQUAL
See Also:
Constant Field Values

MODE_LESS_OR_EQUAL

public static final byte MODE_LESS_OR_EQUAL
See Also:
Constant Field Values

MODE_LESS_THAN

public static final byte MODE_LESS_THAN
See Also:
Constant Field Values

MODE_GREATER_OR_EQUAL

public static final byte MODE_GREATER_OR_EQUAL
See Also:
Constant Field Values

MODE_GREATER_THAN

public static final byte MODE_GREATER_THAN
See Also:
Constant Field Values

codeLB

protected int codeLB

codeUB

protected int codeUB

mode

protected byte mode
Constructor Detail

ErrorCodeFilter

public ErrorCodeFilter(int codeLB)

ErrorCodeFilter

public ErrorCodeFilter(int codeLB,
                       byte mode)

ErrorCodeFilter

public ErrorCodeFilter(int codeLB,
                       int codeUB)
Method Detail

innerInterest

protected boolean innerInterest(BrillienException be)

interestedIn

public boolean interestedIn(BrillienException be)
Description copied from interface: Filter
Tells wether the exception need to be transformed.

Specified by:
interestedIn in interface Filter

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.