Home | History | Annotate | Download | only in cert
      1 package org.apache.harmony.security.tests.support.cert;
      2 
      3 import java.security.cert.CertificateEncodingException;
      4 
      5 public class MyFailingCertPath extends MyCertPath {
      6 
      7     public MyFailingCertPath(byte[] encoding) {
      8         super(encoding);
      9     }
     10 
     11     @Override
     12     public byte[] getEncoded() throws CertificateEncodingException {
     13         throw new CertificateEncodingException("testing purpose");
     14     }
     15 
     16 }
     17