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

            make_(err, msg, cause);
            return(err);
        }
Beispiel #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);
        }
Beispiel #3
0
 public static void make_(UnknownFacetErr self, string msg, Err cause)
 {
     Err.make_(self, msg, cause);
 }
Beispiel #4
0
 public static void make_(UnknownFacetErr self, string msg)
 {
     make_(self, msg, null);
 }
Beispiel #5
0
 public static void make_(UnknownFacetErr self)
 {
     make_(self, null);
 }
Beispiel #6
0
 public static new UnknownFacetErr make(string msg, Err cause)
 {
     UnknownFacetErr err = new UnknownFacetErr();
       make_(err, msg, cause);
       return err;
 }
Beispiel #7
0
 public static void make_(UnknownFacetErr self, string msg, Err cause)
 {
     Err.make_(self, msg, cause);
 }
Beispiel #8
0
 public static void make_(UnknownFacetErr self, string msg)
 {
     make_(self, msg, null);
 }
Beispiel #9
0
 public static void make_(UnknownFacetErr self)
 {
     make_(self, null);
 }