Home | History | Annotate | Download | only in asn1
      1 package com.android.hotspot2.asn1;
      2 
      3 import java.io.IOException;
      4 
      5 public class DecodeException extends IOException {
      6     private final int mOffset;
      7 
      8     public DecodeException(String message, int offset) {
      9         super(message);
     10         mOffset = offset;
     11     }
     12 
     13     @Override
     14     public String toString() {
     15         return super.toString() + " at " + mOffset;
     16     }
     17 }
     18