UnknownFacetErr
Inheritance: Err
Exemple #1
0
        public new static UnknownFacetErr make(string msg, Err cause)
        {
            UnknownFacetErr err = new UnknownFacetErr();

            make_(err, msg, cause);
            return(err);
        }
Exemple #2
0
        public Facet get(Type type, bool check)
        {
            object val = m_map[type];

            if (val is Facet)
            {
                return((Facet)val);
            }
            if (val is string)
            {
                Facet f = decode(type, (string)val);
                m_map[type] = f;
                return(f);
            }
            if (check)
            {
                throw UnknownFacetErr.make(type.qname()).val;
            }
            return(null);
        }
Exemple #3
0
 public static void make_(UnknownFacetErr self, string msg, Err cause)
 {
     Err.make_(self, msg, cause);
 }
Exemple #4
0
 public static void make_(UnknownFacetErr self, string msg)
 {
     make_(self, msg, null);
 }
Exemple #5
0
 public static void make_(UnknownFacetErr self)
 {
     make_(self, null);
 }
Exemple #6
0
 public static new UnknownFacetErr make(string msg, Err cause)
 {
     UnknownFacetErr err = new UnknownFacetErr();
       make_(err, msg, cause);
       return err;
 }
Exemple #7
0
 public static void make_(UnknownFacetErr self, string msg, Err cause)
 {
     Err.make_(self, msg, cause);
 }
Exemple #8
0
 public static void make_(UnknownFacetErr self, string msg)
 {
     make_(self, msg, null);
 }
Exemple #9
0
 public static void make_(UnknownFacetErr self)
 {
     make_(self, null);
 }