0 оценок0% нашли этот документ полезным (0 голосов)
16 просмотров3 страницы
/ To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools Templates and open the template in the editor.
/ To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools Templates and open the template in the editor.
/ To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools Templates and open the template in the editor.
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage( FacesMessage.SEVERITY_ERROR, "Error de acceso:", "Usuario o contrasea incorrecto" ));
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage( FacesMessage.SEVERITY_FATAL, "Error fatal:", "Por favor contacte con su administ rador "+ex.getMessage()));