Package br.gov.component.demoiselle.common.pojo.util

Examples of br.gov.component.demoiselle.common.pojo.util.PojoUtilException


        return GenericFormatter.format(cpf, "###.###.###");
      }else if (tamanho == 11){
        return GenericFormatter.format(cpf, "###.###.###-##");
      }
    } catch (RuntimeException e) {     
      throw new PojoUtilException("",e);
    }   

    return cpf;
  }
View Full Code Here


        return "0" + GenericFormatter.format(cnpj, "##.###.###/####-##");
      case 14:
        return GenericFormatter.format(cnpj, "##.###.###/####-##");
      }
    } catch (RuntimeException e) {
      throw new PojoUtilException("",e);
    }   

    return cnpj;
  }
View Full Code Here

TOP

Related Classes of br.gov.component.demoiselle.common.pojo.util.PojoUtilException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.