Exemplo n.º 1
0
 public JsonLdError(JsonLdError.Error type)
     : base(string.Empty)
 {
     this.type = type;
 }
Exemplo n.º 2
0
 public virtual JsonLdError SetType(JsonLdError.Error error)
 {
     this.type = error;
     return(this);
 }
Exemplo n.º 3
0
 public JsonLdError(JsonLdError.Error type, object detail)
     : base(detail == null ? string.Empty : detail.ToString())
 {
     // TODO: pretty toString (e.g. print whole json objects)
     this.type = type;
 }
Exemplo n.º 4
0
 internal JsonLdError(JsonLdError.Error type)
     : base(string.Empty)
 {
     this.type = type;
 }
Exemplo n.º 5
0
 internal JsonLdError(JsonLdError.Error type, object detail, Exception innerException)
     : base(detail == null ? string.Empty : detail.ToString(), innerException)
 {
     // TODO: pretty toString (e.g. print whole json objects)
     this.type = type;
 }
Exemplo n.º 6
0
		public JsonLdError(JsonLdError.Error type) : base(string.Empty)
		{
			this.type = type;
		}
Exemplo n.º 7
0
		public virtual JsonLdError SetType(JsonLdError.Error error)
		{
			this.type = error;
			return this;
		}
Exemplo n.º 8
0
		public JsonLdError(JsonLdError.Error type, object detail) : base(detail == null ? 
			string.Empty : detail.ToString())
		{
			// TODO: pretty toString (e.g. print whole json objects)
			this.type = type;
		}