Code example for ByteBuffer

Methods: getInt

0
        super(); 
        this.m_errorCode = errorCode;
    } 
 
    public EEException(ByteBuffer b) {
        super(b);
        this.m_errorCode = b.getInt();
    } 
 
    public int getErrorCode() { return m_errorCode;}
    private final int m_errorCode;
 
    @Override 
    protected SerializableExceptions getExceptionType() { 
        return SerializableExceptions.EEException; 
    } 
 
    @Override 
    protected int p_getSerializedSize() { 
        return 4; 
    }